Today I will teach how to use node.js on a private corporate network, etc.
In IT corporate networks they use a proxy in order to block pages and some defined ports, maybe because of this use node.js commands can fail…
If this is your case, use the following commands to disable the path by proxy.
npm config set proxy false
npm cache clean
I hope it helped you
Credits: Vander Santiago de Valle