Fatal error while installing web3 node

0 votes

I am trying to install web3 using the following command: npm install web3

But I am getting this error:

F:\edureka> npm install web3

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 ERR! Error while executing:

npm ERR! C:\Users\edureka\AppData\Local\Programs\Git\cmd\git.EXE ls-remote -h -t git://github.com/frozeman/WebSocket-Node.git

npm ERR!

npm ERR! fatal: read error: Invalid argument

npm ERR!

npm ERR! exited with error code: 128


npm ERR! A complete log of this run can be found in:

npm ERR!     C:\Users\edureka\AppData\Roaming\npm-cache\_logs\2018-08-01T07_46_08_899Z-debug.log

How to solve this?

Aug 10, 2018 in Blockchain by slayer
• 29,370 points
1,624 views

1 answer to this question.

0 votes

Try to add git config by executing the command: git config --global url."https://".insteadOf git://

This git config will change git://github.com/frozeman/WebSocket-Node.git to https://github.com/frozeman/WebSocket-Node.git

This should solve your problem.

answered Aug 10, 2018 by digger
• 26,740 points

Related Questions In Blockchain

0 votes
1 answer

NPM Error While Installing Lisk Dependencies

Meet the lib sodium fails. You're using node ...READ MORE

answered Jun 19, 2018 in Blockchain by charlie_brown
• 7,720 points
705 views
0 votes
1 answer

'ppa:ethereum' error while installing ethereum on ubuntu

First try: sudo apt-get install --reinstall ca-certificates If ...READ MORE

answered Jul 12, 2018 in Blockchain by slayer
• 29,370 points
3,027 views
+1 vote
4 answers

Installing Nodejs: sh: node: command not found error

You have to first install nodejs and ...READ MORE

answered Oct 22, 2018 in Blockchain by Omkar
• 69,220 points
25,739 views
0 votes
1 answer

Truffle tests not running after truffle init

This was a bug. They've fixed it. ...READ MORE

answered Sep 11, 2018 in Blockchain by Christine
• 15,790 points
1,941 views
+1 vote
1 answer
+1 vote
3 answers

Removing double quotes from a string from JSON response in PHP

Just remove the json_encode call, and it should work: $resp ...READ MORE

answered Sep 12, 2018 in Blockchain by digger
• 26,740 points
45,290 views
0 votes
1 answer

Hyperledger Sawtooth vs Quorum in concurrency and speed Ask

Summary: Both should provide similar reliability of ...READ MORE

answered Sep 26, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
1,466 views
0 votes
1 answer

Hyperledger error while installing binaries

This seems like a problem with the ...READ MORE

answered Aug 9, 2018 in Blockchain by digger
• 26,740 points
1,662 views
0 votes
1 answer

Error while Querying System Chaincode.

Do not interact directly with the ledger.. ...READ MORE

answered Jul 12, 2018 in Blockchain by digger
• 26,740 points
818 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP