I'm using npm version 8.1.2 inside Ubuntu 20.04 in windows subsystem for linux 2 (WSL2).
I've been trying to install 5 dependencies for my project, yet the installation hangs.
npm install solc web3 mocha ganache-cli @truffle/hdwallet-provider --verbose
Yet, installation is taking forever (over 10 hours).
I already checked the following:
- npm version is up to date, I am using npm version 8.1.2
- I already updated the registry to use http instead of https using:
npm config set registry http://registry.npmjs.org/
- Checked internet connection which is running fine at 144 Mbps
- Tried the same installation in a different linux machine, which ran at the expected speed
Has anyone encountered this issue before? What has been the solution?
PS. There are indeed many topics regarding speed of npm install in stackoverflow, yet, I have already read a lot of them, which led me to testing the 4 topics mentioned before.