创建CLI4项目错误解决办法:Unexpected end of JSON input while parsing near '...RE-----\r\nVersion: O'

今天使用vue create my-project创建CLI4项目时,出现了如下的错误:

 

 解决办法:

运行npm cache clean --force,然后再重新创建即可。

 

posted @ 2020-04-03 12:35    阅读(709)  评论(0编辑  收藏  举报