问题
For some reason my npm stopped working with network suddenly.
I didn't really get why, so I decided to look through the stackoverflow questions but all the answers I could find were about running npm behind corporate
proxies, but I work at home and I don't have a proxy.
Below is a couple of screenshots of my console with npm errors:
Maybe someone has already encountered that problem and knows how to solve it?
PS: I've read one guy saying that I just need to wait a bit and that npm servers might just be down, but it's already been for 2 days and I can't use npm:(
I hope someone might help)
回答1:
Thanks to Bidhan, the command npm config delete proxy
solved the issue.
来源:https://stackoverflow.com/questions/30736556/npm-doesnt-download-packages-connect-etimedout