gpt4 book ai didi

ubuntu - 未在服务器上生成Nuxt.js项目构建

转载 作者:太空宇宙 更新时间:2023-11-03 17:04:15 27 4
gpt4 key购买 nike

nuxt.js项目中,不会使用NPM run build生成构建

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

✔ 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

最佳答案

我遇到同样的错误,但是我的构建仍然完成,并且构建服务器和开发服务器都可以正常工作。您的构建脚本中是否可能还有其他故障?

✔ Builder initialized                                                                                                               
16:50:48
✔ Nuxt files generated
16:50:48

✔ Client
Compiled successfully in 22.22s


ERROR (node:9473) DeprecationWarning: Tapable.plugin is deprecated. Use new API on
.hooks instead 16:50:56


Hash: 9ca2420933de76ba890d
Version: webpack 4.33.0
Time: 22216ms
Built at: 06/20/2019 4:51:18 PM

关于ubuntu - 未在服务器上生成Nuxt.js项目构建,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56630387/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com