今天给朋友解决一个vue报错问题 npm install 的时候老是报错 解决办法 1,删除node_modules文件夹 2,清理缓存 npm cache clean --force 3,重新安装 npm i 搞定