当我尝试为我的vue实时服务器运行npm run server时,我得到了这个错误,为什么会这样?
error code ELIFECYCLE
error errno 1
error example@1.0.0 serve: `vue-cli-service serve`
error Exit status 1
error Failed at the example@1.0.0 serve script.
error This is probably not a problem with npm. There is likely additional logging output above.
verbose exit [ 1, true ]发布于 2021-04-15 17:09:40
尝试以下步骤:
中的"node_modules“目录
sudo rm -rf node_modulesnpm install 之后,运行您的命令。
我想这会解决你的问题。
https://stackoverflow.com/questions/67105422
复制相似问题