【问题标题】:Error install ionic framework through npm通过 npm 安装 ionic 框架时出错
【发布时间】:2016-07-02 11:43:00
【问题描述】:

无法安装离子

 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 ]

试了很多次,还是无法安装

【问题讨论】:

标签: node.js ionic-framework npm


【解决方案1】:

在再次运行npm install 之前尝试使用npm cache clean 清理缓存。当我遇到同样的错误时,这对我在 OSX 上有用。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2014-05-24
    • 2015-04-07
    • 1970-01-01
    • 2017-09-12
    • 1970-01-01
    • 2016-03-04
    • 1970-01-01
    • 2018-10-29
    相关资源
    最近更新 更多