I've tried to install web3 with node.js by doing npm install web3 --save, but when I check the node_modules/ folder, there's no dist folder and its web3.min.js file anywhere. Any ideas on how or why?
Asked
Active
Viewed 1,018 times
4
0xInfection
- 2,351
- 1
- 18
- 27
Krishna0727
- 53
- 8
-
See if this helps - (https://stackoverflow.com/questions/5926672/where-does-npm-install-packages). There won't be a dist folder. – Ujjwal Vaish Feb 21 '19 at 20:18
2 Answers
0
Why do you need web3.min.js file?
The package's entry point is src/index.js, to use it in you project just use:
import Web3 from 'web3';
Andranik Hovesyan
- 385
- 2
- 9