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,050 points
339 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
• 27,630 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 18, 2018 in Blockchain by charlie_brown
• 7,720 points
46 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,050 points
158 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
• 67,290 points
2,940 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
126 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
• 27,630 points
2,581 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
• 27,630 points
151 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
• 27,630 points
137 views