为什么 Vue.js 执行 npm install 报错 code EINTEGRITY?

Vue.js 执行 npm install 出现

pha.18"},"directories":{},"dist":{"integrity":"sha512-zwTXqzxE2ZnEfpA  

npm ERR! code EINTEGRITY
npm ERR! sha1-eRQg1/VR7qKJdFOop3ZT+WYG1nw= integrity checksum failed when using
sha1: wanted sha1-eRQg1/VR7qKJdFOop3ZT+WYG1nw= but got sha1-QV3ZsG6qxz6QjT3IdUbX
7Np9Nlo=. (4994 bytes)

执行 npm clean cache --force

错误为:

Unexpected end of input
pha.18"},"directories":{},"dist":{"integrity":"sha512-zwTXqzxE2ZnEfpA  
node -v  8.4.0
npm -v    5.3.0
阅读 6.7k
2 个回答

pha.18"},"directories":{},"dist":{"integrity":"sha512-zwTXqzxE2ZnEfpA这部分后面输入错误

推荐问题