Node.js 如何在我的分散应用程序中安装web3工作版本

Node.js 如何在我的分散应用程序中安装web3工作版本,node.js,git,npm,web3js,Node.js,Git,Npm,Web3js,正在尝试安装web3,但收到此错误 npm WARN registry Using stale data from https://registry.npmjs.org/ because the host is inaccessible -- are you offline? npm WARN registry Using stale package data from https://registry.npmjs.org/ due to a request

正在尝试安装web3,但收到此错误

npm WARN registry Using stale data from https://registry.npmjs.org/ because
         the host is inaccessible -- are you offline?
npm WARN registry Using stale package data from https://registry.npmjs.org/
         due to a request error during revalidation.
npm ERR! code ENOGIT
npm ERR! Error while executing:
npm ERR! undefined ls-remote -h -t 
         https://github.com/frozeman/bignumber.js-nolookahead.git
npm ERR!
npm ERR! undefined
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!     C:\Users\elish\AppData\Roaming\npm-cache\_logs\2018-10-26T15_46_43_457Z-debug.log

你没有安装git

您需要先安装git

从此处下载并安装,然后重新运行命令

是的,我安装了git并重新运行代码,收到了相同的错误