Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ELIFECYCLE code error while running scripts #23

Open
Darynalukianets opened this issue Sep 11, 2017 · 0 comments
Open

ELIFECYCLE code error while running scripts #23

Darynalukianets opened this issue Sep 11, 2017 · 0 comments

Comments

@Darynalukianets
Copy link

Having this while running npm run dev

0 info it worked if it ends with ok
1 verbose cli [ 'C:\Program Files\nodejs\node.exe',
1 verbose cli 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'run',
1 verbose cli 'dev' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'predev', 'dev', 'postdev' ]
5 info lifecycle [email protected]predev: [email protected]
6 silly lifecycle [email protected]
predev: no script for predev, continuing
7 info lifecycle [email protected]dev: [email protected]
8 verbose lifecycle [email protected]
dev: unsafe-perm in lifecycle true
9 verbose lifecycle [email protected]dev: PATH: C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin;C:\Users\Дарья\Test\angular-starter-es6-webpack\node_modules.bin;C:\Program Files\nodejs;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Git\cmd;C:\Program Files\nodejs;C:\Program Files (x86)\Skype\Phone;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0;C:\Ruby200-x64\bin;C:\Users\Дарья\AppData\Local\Microsoft\WindowsApps;C:\Users\Дарья\AppData\Local\atom\bin;C:\Users\Дарья\AppData\Roaming\npm;C:\Users\Дарья\AppData\Local\Microsoft\WindowsApps;
10 verbose lifecycle [email protected]
dev: CWD: C:\Users\Дарья\Test\angular-starter-es6-webpack
11 silly lifecycle [email protected]dev: Args: [ '/d /s /c',
11 silly lifecycle 'export NODE_ENV=development && webpack-dev-server --devtool=source-map --progress --colors --port=9000 --content-base app' ]
12 silly lifecycle [email protected]
dev: Returned: code: 1 signal: null
13 info lifecycle [email protected]~dev: Failed to exec dev script
14 verbose stack Error: [email protected] dev: export NODE_ENV=development && webpack-dev-server --devtool=source-map --progress --colors --port=9000 --content-base app
14 verbose stack Exit status 1
14 verbose stack at EventEmitter. (C:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:242:16)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at EventEmitter.emit (events.js:191:7)
14 verbose stack at ChildProcess. (C:\Program Files\nodejs\node_modules\npm\lib\utils\spawn.js:40:14)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at ChildProcess.emit (events.js:191:7)
14 verbose stack at maybeClose (internal/child_process.js:877:16)
14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
15 verbose pkgid [email protected]
16 verbose cwd C:\Users\Дарья\Test\angular-starter-es6-webpack
17 error Windows_NT 10.0.15063
18 error argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "dev"
19 error node v6.6.0
20 error npm v3.10.3
21 error code ELIFECYCLE
22 error [email protected] dev: export NODE_ENV=development && webpack-dev-server --devtool=source-map --progress --colors --port=9000 --content-base app
22 error Exit status 1
23 error Failed at the [email protected] dev script 'export NODE_ENV=development && webpack-dev-server --devtool=source-map --progress --colors --port=9000 --content-base app'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the angular-starter-es6-webpack package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error export NODE_ENV=development && webpack-dev-server --devtool=source-map --progress --colors --port=9000 --content-base app
23 error You can get information on how to open an issue for this project with:
23 error npm bugs angular-starter-es6-webpack
23 error Or if that isn't available, you can get their info via:
23 error npm owner ls angular-starter-es6-webpack
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant