【问题标题】:Error while installing web3@1.0.0-beta.26 on Windows 10在 Windows 10 上安装 web3@1.0.0-beta.26 时出错
【发布时间】:2019-11-27 03:47:22
【问题描述】:

在 Windows 10 上安装 web3@1.0.0-beta.26 时出现以下错误。

npm ERR! code ETARGET
npm ERR! notarget No matching version found for web3-core@1.0.0
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget
npm ERR! notarget It was specified as a dependency of 'web3-eth'
npm ERR! notarget

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\tanuj\AppData\Roaming\npm-cache\_logs\2019-07-18T05_50_02_703Z-debug.log

我已经跑成功了

npm install --global --production windows-build-tools

但仍然出现错误。

【问题讨论】:

    标签: node.js npm ethereum web3


    【解决方案1】:

    尝试安装一个稳定的 web3 版本,看看你的项目中是否有node_modules 文件夹和package-lock.json 文件

    尽管有错误,它应该可以工作

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-11-16
      • 2018-08-19
      • 2017-02-20
      • 2017-03-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多