The error I'm getting:
My internet connection is fine, and I have the firewall turned off, and I'm not using ipv6. I am on Ubuntu 20.04
This error occurs when your device cannot connect to registry.npmjs.org
You can try pinging using the following command; $ ping registry.npmjs.org
. If it does not ping it means your device cannot connect. You can check the following;
You can also see this stackoverflow question for similar answers