错误通过npm安装离子框架

时间:2016-06-27 09:23:06

标签: node.js ionic-framework npm

无法安装离子

 76 error Windows_NT 6.1.7601
    77 error argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "ionic" "-g"
    78 error node v6.2.2
    79 error npm  v3.9.5
    80 error shasum check failed for C:\Users\iCom\AppData\Local\Temp\npm-6100-6eb8c472\registry.npmjs.org\ionic\-\ionic-1.7.16.tgz
    80 error Expected: aeff62ee70b10b1563d85b9d4ea7005640bbc584
    80 error Actual:   712351e02cbbe0cfc95135424a09d110f649add5
    80 error From:     http://registry.npmjs.org/ionic/-/ionic-1.7.16.tgz
    81 error If you need help, you may report this error at:
    81 error     <https://github.com/npm/npm/issues>
    82 verbose exit [ 1, true ]

我尝试了很多次,它无法安装

1 个答案:

答案 0 :(得分:0)

尝试使用npm cache clean清除缓存,然后再次运行npm install。当我遇到同样的错误时,这对我在OSX上工作。