npm run build 报错
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! vux-demo1@1.0.0 build: `node build/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the vux-demo1@1.0.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in:
npm ERR! D:\Program Files\nodejs\node_cache\_logs\2022-05-10T07_38_46_481Z-debug.log
解决办法
rm -rf node_modules
rm -rf package-lock.json
npm cache clear --force
npm install