TypeError: Request path contains unescaped characters

前端 未结 2 1070
礼貌的吻别
礼貌的吻别 2020-12-25 12:03

I try to install node.js modules using:

npm install express

but I get this error:

npm http GET https://registry.npmjs.org/e         


        
2条回答
  •  情话喂你
    2020-12-25 13:00

    Set proxy from commandline.

    npm config set proxy http://proxydomain:port/
    

    If error occur yet, additional try next.

    npm config set registry http://registry.npmjs.org/
    

    These work for me. (ref http://sushichop.blogspot.jp/2013/01/npm-install.html)

提交回复
热议问题