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,267 times
5

0xInfection
- 2,676
- 1
- 19
- 34

Krishna Kankipati
- 83
- 9
-
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
1
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
- 437
- 3
- 9