nextjs 程序发布,报了一堆错
18 verbose node v14.11.0
19 verbose npm v6.14.8
20 error code ELIFECYCLE
21 error errno 1
22 error test3d@0.1.0 build: `next build`
22 error Exit status 1
23 error Failed at the test3d@0.1.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 ]
可能由于版本更新的原因
解决方法是重新安装一次,建议把之前装的都清空
rm -rf node_modules
rm package-lock.json
npm cache clear --force
npm install