npm install ethereum/web3.js --save
I get: 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.
I was also facing same issue but it's simple to solve it. Follow the below step it works for me.
1) Download git from here and install on your PC.
2) Then just restart your CMD.
3) Then Execute npm install ethereum/web3.js --save
Command.
And you are good to go. Hope it will be helpful for others also.
npm install --global --production windows-build-tools
npm install --save web3@1.0.0-beta.26
(in your project directory)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.