npm 报错This is probably not a problem with npm. There is likely additional logging output above.

npm 报错This is probably not a problem with npm. There is likely additional logging output above.
可能是版本的问题
在把之前装的都清空,重新安装一次

rm -rf node_modules
rm package-lock.json
cnpm cache clear --force
cnpm install
早起的年轻人 CSDN认证博客专家 移动开发 项目管理 Java
只要用心去做,每一件事情还是有可能成功的,当然成功是没有界限的,只不过是达到自己心里的那个目标,公众号:我的大前端生涯,一个爱喝茶的程序员,通常会搞搞SpringBoot 、Herbinate、Mybatiys、Android、iOS、Flutter、Vue、小程序等.
0 info it worked if it ends with ok 1 verbose cli [ 'D:\\Program Files\\nodejs\\node.exe', 1 verbose cli 'D:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js', 1 verbose cli 'run', 1 verbose cli 'build' ] 2 info using npm@6.9.0 3 info using node@v10.16.3 4 verbose run-script [ 'prebuild', 'build', 'postbuild' ] 5 info lifecycle 08cms@1.0.0~prebuild: 08cms@1.0.0 6 info lifecycle 08cms@1.0.0~build: 08cms@1.0.0 7 verbose lifecycle 08cms@1.0.0~build: unsafe-perm in lifecycle true 8 verbose lifecycle 08cms@1.0.0~build: PATH: D:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;c:\av\houses\node_modules\.bin;C:\Program Files (x86)\NetSarang\Xshell 6\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft SQL Server\80\Tools\BINN;d:\Program Files\OpenVPN\bin;D:\py;D:\Program Files\nodejs\;C:\Program Files (x86)\Nmap;C:\Users\Administrator\AppData\Roaming\npm 9 verbose lifecycle 08cms@1.0.0~build: CWD: c:\av\houses 10 silly lifecycle 08cms@1.0.0~build: Args: [ '/d /s /c', 'node build/build.js' ] 11 silly lifecycle 08cms@1.0.0~build: Returned: code: 1 signal: null 12 info lifecycle 08cms@1.0.0~build: Failed to exec build script 13 verbose stack Error: 08cms@1.0.0 build: `node build/build.js` 13 verbose stack Exit status 1 13 verbose stack at EventEmitter.<anonymous> (D:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:301:16) 13 verbose stack at EventEmitter.emit (events.js:198:13) 13 verbose stack at ChildProcess.<anonymous> (D:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14) 13 verbose stack at ChildProcess.emit (events.js:198:13) 13 verbose stack at maybeClose (internal/child_process.js:982:16) 13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5) 14 verbose pkgid 08cms@1.0.0 15 verbose cwd c:\av\houses 16 verbose Windows_NT 6.1.7601 17 verbose argv "D:\\Program Files\\nodejs\\node.exe" "D:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "build" 18 verbose node v10.16.3 19 verbose npm v6.9.0 20 error code ELIFECYCLE 21 error errno 1 22 error 08cms@1.0.0 build: `node build/build.js` 22 error Exit status 1 23 error Failed at the 08cms@1.0.0 build script. 23 error This is probably not a problem with npm. There is likely additional logging output above. 24 verbose exit [ 1, true ]
©️2020 CSDN 皮肤主题: 撸撸猫 设计师:设计师小姐姐 返回首页