【问题标题】:$ npm install https://registry.npmjs.org/npm/-/npm-1.3.19.tgz is not fond error$ npm install https://registry.npmjs.org/npm/-/npm-1.3.19.tgz 不喜欢错误
【发布时间】:2017-05-24 07:48:33
【问题描述】:

每当我运行这个命令时:

$ npm install https://registry.npmjs.org/npm/-/npm-1.3.19.tgz:

我在 phonegap 安装期间遇到错误。

谢谢 塔伦

【问题讨论】:

标签: node.js cordova npm


【解决方案1】:

也遇到过这个问题。我使用了以下解决方案:

  • 使用 curl 从http://registry.npmjs.org/npm/latest 抓取文本
  • 搜索了http.*tgz 的文本
  • 将返回错误的 tgz 引用替换为文本中的引用,然后重新运行 npm install

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2021-12-23
    • 1970-01-01
    • 2020-01-19
    • 1970-01-01
    • 1970-01-01
    • 2020-05-28
    • 2021-09-06
    相关资源
    最近更新 更多