I am trying to install npm packages but it keeps giving me errors about network connectivity. I have tested by changing the registry
// 1st
npm config set registry "https://registry.npmjs.org"
2nb
npm config set registry "http://registry.npmjs.org"
but it didn't work.
Node Version - 16.8.0
npm Version - 7.21.0
I have no idea how to solve it regardless of seeing/trying so many solutions on the internet. Please help.