【问题标题】:I Can't install Web3我无法安装 Web3
【发布时间】:2018-07-11 19:29:00
【问题描述】:

我必须安装 Web3,它是一个以太坊库,但我无法在 linux mint 18 中安装。

$ sudo npm install web3 --save
[sudo] password for taylor: 
npm WARN deprecated fs-promise@2.0.3: Use mz or fs-extra^3.0 with Promise Support
npm WARN deprecated tar.gz@1.0.7: ⚠️  WARNING ⚠️ tar.gz module has been deprecated and your application is vulnerable. Please use tar module instead: https://npmjs.com/tar
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm ERR! code ENOGIT
npm ERR! No git binary found in $PATH
npm ERR! 
npm ERR! Failed using git.
npm ERR! Please check if you have git installed and in your PATH.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/taylor/.npm/_logs/2018-02-01T12_55_24_014Z-debug.log

我能做什么?

【问题讨论】:

    标签: npm npm-install linux-mint web3js web3


    【解决方案1】:

    错误清楚地表明您缺少 git。 试试先安装 git 试试看?

    【讨论】:

      猜你喜欢
      • 2019-06-06
      • 2021-01-12
      • 2021-07-28
      • 2018-02-05
      • 2019-01-08
      • 2019-07-30
      • 2021-12-03
      • 2022-01-20
      • 2018-08-19
      相关资源
      最近更新 更多