【问题标题】:Why is my npm install not working?为什么我的 npm 安装不起作用?
【发布时间】:2016-11-07 14:37:57
【问题描述】:

自从今天早上我试图让 npm install 再次工作,它也在使用代理,但我的凭据没有改变。我升级到节点 v7 并尝试了这个链接:

http://stackoverflow.com/questions/30787702/npm-err-registry-error-parsing-json-while-trying-to-install-cordova-for-ionic

当我尝试 npm install 我得到这个错误:

[ERROR] npm ERR! registry error parsing json

如何让 npm install 再次运行?

【问题讨论】:

    标签: node.js npm


    【解决方案1】:

    可能是临时的 npm 注册表故障,或损坏的本地 npm 缓存。

    运行

     [npm cache clean] 
    

    稍后再试。

    【讨论】:

    • 最近一小时一直在尝试
    猜你喜欢
    • 1970-01-01
    • 2017-02-22
    • 2020-04-22
    • 1970-01-01
    • 2014-08-06
    • 1970-01-01
    • 2021-10-26
    相关资源
    最近更新 更多