Closed NikVolf closed 6 years ago
I believe you have to install the web3 package globally with npm install -g web3
Aye, did it but still get this error
Maybe you can try adding it locally as well?
just tried. npm install -g web3
works for me..
Also having issues. The building part is smooth. When it comes to deploying, I solved the missing web3 problem by installing it locally (no need for web3 globally):
npm init
npm i --save-dev web3
That allows passing the web3 issue mentioned in this issue.
I've added package.json
to the repo, so now it's possible to run npm install
and use the local web3.js