报错This is probably not a problem with npm. There is likely additional logging output above.
安装了一个插件后运行 npm run serve 就报了以上错误
于是执行了npm install 依旧报错
最后,清空了之前安装的
rm -rf node_modules
rm package-lock.json
npm cache clear --force
npm install
解决问题!
转载自-作者:VictoriaZsj
链接:https://www.jianshu.com/p/d1b5261b30fb
来源:简书