3

I am following the below tutorial to create implement blockchain using web3.

https://medium.com/coinmonks/interacting-with-ethereum-smart-contracts-through-web3-js-e0efad17977

When I am using npm install ethereum/web3.js --save web3/dist is not getting created at all and is unable to find ./node_modules/web3/dist/web3.min.js.

On using npm install web3 --save web3/dist is getting created but web3.min.js is missing.

As per the tutorial and all other tutorials, need this in my script.

I need help!!!

  • use this command it will work npm install web3@0.20.6 --save – Suraj Aug 18 at 19:17
1

This solved the issue:

npm install ethereum/web3.js#develop --save --verbose

0

try using this link. It is the cdn

<script src="https://cdn.jsdelivr.net/gh/ethereum/web3.js@0.18.2/dist/web3.min.js"></script>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.