ETIMEDOUT Error while installing Node packages on Windows

前端 未结 10 852
日久生厌
日久生厌 2020-12-03 10:18

I am trying to install node packages on my windows machine using npm from a fresh install of node.

however, I am getting ETIMEDOUT errors. I checked few other stacko

10条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-03 10:51

    I was going through the same error. the root cause was the proxy settings : there are several answers provided in here to reset the proxy but none of them worked for me. Below commands solved my problem, give them a try.

    npm config rm proxy 
    npm config rm https-proxy
    

提交回复
热议问题