-
Notifications
You must be signed in to change notification settings - Fork 0
web3 installation
This guide is assuming that you have tried to npm install web3 and it didn't work
Most of the time this is device-specific issue, due to web3 using c++ and python to build itself in postinstall time. If you have trouble with EACCES even with sudo it's #2 in UNIX section.
Install https://www.npmjs.com/package/windows-build-tools and try again
It will need admin rights and might take a while to install
If you are getting ENIVAL invalid argument read consider using yarn.
npm i -g yarnyarn add web3
Make sure you have git, gcc and python installed
There is an issue with npm not passing sudo rights to the postinstall script. Try installing using yarn.
npm i -g yarnsudo yarn add web3
If that didn't help check out https://github.com/ethereum/web3.js/issues/950.
If you have any issues / questions / feedback feel free to reach to us via email alyona@casperproject.io.