美文网首页码农之前端
command failed: npm install --lo

command failed: npm install --lo

作者: O人心 | 来源:发表于2020-03-06 09:13 被阅读0次

在网上也查看了很多,看到很多人遇到类似的错误,我看到最简便的方法就是:

先卸载vue和脚手架,清除缓存,再次安装vue和脚手架

npm uninstall -g vue

npm uninstall -g vue-cli

npm uninstall -g @vue/cli

npm cache clean --force

npm install -g vue

npm install -g @vue/cli

然后再次创建新项目就可以了,具体是什么原因造成这样的问题,暂时我也不知道

相关文章

网友评论

    本文标题:command failed: npm install --lo

    本文链接:https://www.haomeiwen.com/subject/snfvrhtx.html