Skip to content

npm run dist gives error on Windows #13544

Description

@svdoever

When I try to execute npm run dist on Windows 10 I get the following error:

[00:01:46] Minified amp-web-push-permission-dialog.js (31.938 s)
[00:01:50] Minified amp-login-done-0.1.max.js (35.464 s)
[00:01:50] 'dist' errored after 13 min
[00:01:50] Error: kill ESRCH
    at Object._errnoException (util.js:1003:13)
    at process.kill (internal/process.js:173:18)
    at exports.exitCtrlcHandler (C:\P\amphtml\build-system\ctrlcHandler.js:59:11)
    at compileCss.then.then.then.then.then.then (C:\P\amphtml\gulpfile.js:798:21)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:160:7)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! amp-html@0.1.0 dist: `gulp dist`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the amp-html@0.1.0 dist script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Serge\AppData\Roaming\npm-cache\_logs\2018-02-17T23_01_50_588Z-debug.log

Same happens on npm run build, but everytime at a different file:

[00:17:58] Compiled amp-facebook-like.js (49.464 s)
[00:17:58] 'build' errored after 2.85 min
[00:17:58] Error: kill ESRCH
    at Object._errnoException (util.js:1003:13)
    at process.kill (internal/process.js:173:18)
    at exports.exitCtrlcHandler (C:\P\amphtml\build-system\ctrlcHandler.js:59:11)
    at performBuild.then (C:\P\amphtml\gulpfile.js:746:36)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:160:7)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions