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,040 points
262 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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,620 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,710 points
33 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,040 points
101 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
• 65,810 points
1,559 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
60 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,620 points
1,508 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,620 points
104 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,620 points
101 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.