Should be a network or firewall issue blocking NPM commands. Try switching to another network, should work perfectly.