npm install not work

后端 未结 1 1698
礼貌的吻别
礼貌的吻别 2020-12-01 19:05

OS windows 7 64bit

when I use npm install gulp,npm does not work.

I am very confused....

Error code:

npm ERR! Error: connect ECONNREF         


        
相关标签:
1条回答
  • 2020-12-01 19:52

    It looks like you are behind a proxy. To by pass it, you have to configure it like :

    npm config set proxy http://myproxyblabla:myport
    npm config set https-proxy http://myproxyblabla:myport
    

    Problems with https are solved with :

    npm config set registry http://registry.npmjs.org/
    
    0 讨论(0)
提交回复
热议问题