1

nuxt.js项目中,使用npm run build 没有生成build

我试图删除 node_modules 目录并再次package-lock.json运行NPM安装

✔ Builder initialized                                                                                                                           11:02:43
✔ Nuxt files generated                                                                                                                          11:02:44

● Client █████████████████████████ building (31%) 177/199 modules 22 active
 ...vue

◯ Server



 ERROR  (node:9459) DeprecationWarning: Tapable.plugin is deprecated. Use new API on .hooks instead                                             11:02:47

Killed
npm ERR! code ELIFECYCLE
npm ERR! errno 137
npm ERR! Moadaty@1.0.0 build: `nuxt build`
npm ERR! Exit status 137
npm ERR!
npm ERR! Failed at the Moadaty@1.0.0 build 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!     /root/.npm/_logs/2019-06-17T11_02_57_028Z-debug.log
4

0 回答 0