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


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!!!


2 Answers 2


This solved the issue:

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


try using this link. It is the cdn

<script src="https://cdn.jsdelivr.net/gh/ethereum/[email protected]/dist/web3.min.js"></script>

  • https://cdn.jsdelivr.net/npm/web3@latest/dist/web3.min.js OR https://cdn.jsdelivr.net/npm/web3@latest/dist/web3.min.js worked for me
    – qpaycm
    Jun 16, 2022 at 17:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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