W
W
Worddoc2019-02-27 22:27:54
JavaScript
Worddoc, 2019-02-27 22:27:54

Why can't install web3.js on Windows 10?

Good day everyone.
I'm trying to install web3.js(1.0.0-beta.37) on Windows and I'm facing a popular error:
https://gist.github.com/web-worddoc/b5380bc94afbd9...
Tried installing using Power Shell as administrator after

npm install --global --production windows-build-tools
.
Tried reinstalling node-gyp.
Tried installing nan.
Tried rm -rf node_modules -> npm install
Everything doesn't work. I have no idea how this can be fixed. I dug up the entire Internet. I ask for help from comrades who have encountered this problem! Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
profesor08, 2019-02-28
@profesor08

Strange of course, for the sake of interest, I took it, installed it, and everything is in order.

> npm init
> npm install web3

I even created a file, connected web3 there and executed the script on the node.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question