我的系统是win10专业版64位,在管理员模式的cmd下安装cnpm出现以下报错:
npm ERR! Unexpected end of input at 1:2568
npm ERR! a5dedeaa","size":34335,"noattachment":false,"tarball":"http://registr
npm ERR! ^
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Cooper\AppData\Roaming\npm-cache\_logs\2017-08-29T04_00_02_751Z-debug.log
首先输入以下命令并回车
然后再
这样就可以了。