happypeter / vue-path

vuejs 学习路径
http://peterandbillie.com
3 stars 2 forks source link

vue-cli #3

Open Lmoxiaobei opened 6 years ago

Lmoxiaobei commented 6 years ago

command failed: npm install --loglevel error npm ERR! Unexpected end of JSON input while parsing near '...ync-1.4.1.tgz"},"_has'

npm ERR! A complete log of this run can be found in: npm ERR! /home/moxiaobei/.npm/_logs/2018-05-07T14_06_59_555Z-debug.log ERROR command failed: npm install --loglevel error

happypeter commented 6 years ago
vue create demo

就会出这个错误。

happypeter commented 6 years ago
nvm install v10.0.0

使用 vue-init 重装,也是一样的问题。所以重装 node 新版试试。