Closed himself65 closed 5 years ago
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'C:\\Users\\himself65\\Desktop\\Github\\luogu-blog-frontend\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'run',
1 verbose cli 'build-dev' ]
2 info using npm@6.1.0
3 info using node@v10.15.3
4 verbose run-script [ 'prebuild-dev', 'build-dev', 'postbuild-dev' ]
5 info lifecycle luogu-blog-frontend@1.0.0~prebuild-dev: luogu-blog-frontend@1.0.0
6 info lifecycle luogu-blog-frontend@1.0.0~build-dev: luogu-blog-frontend@1.0.0
7 verbose lifecycle luogu-blog-frontend@1.0.0~build-dev: unsafe-perm in lifecycle true
8 verbose lifecycle luogu-blog-frontend@1.0.0~build-dev: PATH: C:\Users\himself65\Desktop\Github\luogu-blog-frontend\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\Users\himself65\Desktop\Github\luogu-blog-frontend\node_modules\.bin;C:\Users\HIMSEL~1\AppData\Local\Temp\yarn--1556619146640-0.7859712383116582;C:\Users\himself65\Desktop\Github\luogu-blog-frontend\node_modules\.bin;C:\Users\himself65\AppData\Local\Yarn\Data\link\node_modules\.bin;C:\Program Files\libexec\lib\node_modules\npm\bin\node-gyp-bin;C:\Program Files\lib\node_modules\npm\bin\node-gyp-bin;C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin;C:\Users\himself65\Desktop\Github\luogu-blog-frontend\node_modules\.bin;C:\Python27\;C:\Python27\Scripts;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Yarn\bin\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files\Git\cmd;%NVM_HOME%;%NVM_SYMLINK%;C:\Users\himself65\.cargo\bin;C:\Users\himself65\AppData\Local\Microsoft\WindowsApps;C:\Users\himself65\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\himself65\AppData\Local\Yarn\bin;C:\gpp\bin;C:\Program Files\JetBrains\IntelliJ IDEA 2019.1.1\bin;;C:\Users\himself65\AppData\Roaming\npm;C:\Users\himself65\AppData\Roaming\nvm;C:\Program Files\nodejs;C:\depot_tools;
9 verbose lifecycle luogu-blog-frontend@1.0.0~build-dev: CWD: C:\Users\himself65\Desktop\Github\luogu-blog-frontend
10 silly lifecycle luogu-blog-frontend@1.0.0~build-dev: Args: [ '/d /s /c',
10 silly lifecycle 'cross-env NODE_ENV=development webpack --progress --hide-modules --mode development' ]
11 silly lifecycle luogu-blog-frontend@1.0.0~build-dev: Returned: code: 2 signal: null
12 info lifecycle luogu-blog-frontend@1.0.0~build-dev: Failed to exec build-dev script
13 verbose stack Error: luogu-blog-frontend@1.0.0 build-dev: `cross-env NODE_ENV=development webpack --progress --hide-modules --mode development`
13 verbose stack Exit status 2
13 verbose stack at EventEmitter.<anonymous> (C:\Users\himself65\Desktop\Github\luogu-blog-frontend\node_modules\npm\node_modules\npm-lifecycle\index.js:304:16)
13 verbose stack at EventEmitter.emit (events.js:189:13)
13 verbose stack at ChildProcess.<anonymous> (C:\Users\himself65\Desktop\Github\luogu-blog-frontend\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:189:13)
13 verbose stack at maybeClose (internal/child_process.js:970:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
14 verbose pkgid luogu-blog-frontend@1.0.0
15 verbose cwd C:\Users\himself65\Desktop\Github\luogu-blog-frontend
16 verbose Windows_NT 10.0.17134
17 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\himself65\\Desktop\\Github\\luogu-blog-frontend\\node_modules\\npm\\bin\\npm-cli.js" "run" "build-dev"
18 verbose node v10.15.3
19 verbose npm v6.1.0
20 error code ELIFECYCLE
21 error errno 2
22 error luogu-blog-frontend@1.0.0 build-dev: `cross-env NODE_ENV=development webpack --progress --hide-modules --mode development`
22 error Exit status 2
23 error Failed at the luogu-blog-frontend@1.0.0 build-dev script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 2, true ]
because switch to the wrong branch