npm doesn't download packages (connect ETIMEDOUT)

不羁的心 提交于 2020-01-25 20:32:58

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!