ETIMEDOUT Error while installing Node packages on Windows

前端 未结 10 850
日久生厌
日久生厌 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:47

    I solved it with the following:

    npm config rm proxy
    npm config rm https-proxy
    
    npm config delete http-proxy
    npm config delete https-proxy
    
    set HTTP_PROXY=null
    set HTTPS_PROXY=null
    

提交回复
热议问题