Skip to content
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.

Error:npm-lifecycle\index.js:301:16 #27

Closed
zhangyanming opened this issue Nov 20, 2018 · 0 comments
Closed

Error:npm-lifecycle\index.js:301:16 #27

zhangyanming opened this issue Nov 20, 2018 · 0 comments

Comments

@zhangyanming
Copy link

use extract-text-webpack-plugin

0 info it worked if it ends with ok
1 verbose cli [ 'E:\\0java\\nodejs\\node.exe',
1 verbose cli   'E:\\0java\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'run',
1 verbose cli   'build' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
5 info lifecycle [email protected]~prebuild: [email protected]
6 info lifecycle [email protected]~build: [email protected]
7 verbose lifecycle [email protected]~build: unsafe-perm in lifecycle true
8 verbose lifecycle [email protected]~build: PATH: E:\0java\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;F:\2.src\enjiu\t2\webpack-demo\node_modules\.bin;C:\ProgramData\Boxstarter;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\GtkSharp\2.12\bin;D:\scala\bin;D:\TortoiseSVN\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;D:\sbt\bin;D:\Go\bin;C:\WINDOWS\System32\OpenSSH\;D:\TortoiseGit\bin;d:\Git\cmd;d:\Microsoft VS Code\bin;C:\ProgramData\chocolatey\bin;E:\0java\nodejs\;D:\Python\Python37\Scripts\;D:\Python\Python37\;C:\Users\Ming\AppData\Local\Programs\Python\Launcher\;C:\Program Files\Intel\WiFi\bin\;D:\Java\jdk1.8.0_152\bin;E:\0java\apache-maven-3.3.9\bin;E:\0java\spring-2.0.0.BUILD-SNAPSHOT\bin;C:\Program Files\Common Files\Intel\WirelessCommon\;F:\9.resource\sbt\activator-dist-1.3.12\bin;E:\0java\play-1.4.4;d:\Fiddler;d:\Microsoft VS Code\bin;C:\Users\Ming\AppData\Local\Microsoft\WindowsApps;E:\Wind\Wind.NET.Client\WindNET\bin\;D:\Wind\WWT\bin\;C:\Users\Ming\AppData\Roaming\npm;F:\9.resource\npm;
9 verbose lifecycle [email protected]~build: CWD: F:\2.src\enjiu\t2\webpack-demo
10 silly lifecycle [email protected]~build: Args: [ '/d /s /c', 'webpack --config=config/webpack.dev.js' ]
11 silly lifecycle [email protected]~build: Returned: code: 1  signal: null
12 info lifecycle [email protected]~build: Failed to exec build script
13 verbose stack Error: [email protected] build: `webpack --config=config/webpack.dev.js`
13 verbose stack Exit status 1
13 verbose stack     at EventEmitter.<anonymous> (E:\0java\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:301:16)
13 verbose stack     at EventEmitter.emit (events.js:182:13)
13 verbose stack     at ChildProcess.<anonymous> (E:\0java\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack     at ChildProcess.emit (events.js:182:13)
13 verbose stack     at maybeClose (internal/child_process.js:962:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)
14 verbose pkgid [email protected]
15 verbose cwd F:\2.src\enjiu\t2\webpack-demo
16 verbose Windows_NT 10.0.17134
17 verbose argv "E:\\0java\\nodejs\\node.exe" "E:\\0java\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "build"
18 verbose node v10.13.0
19 verbose npm  v6.4.1
20 error code ELIFECYCLE
21 error errno 1
22 error [email protected] build: `webpack --config=config/webpack.dev.js`
22 error Exit status 1
23 error Failed at the [email protected] build script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant