NodeJS NPM Proxy error when installing grunt

后端 未结 11 1993
太阳男子
太阳男子 2020-12-25 13:58

When I\'m trying to install grunt via npm, I\'m getting a following error:

C:\\Program Files\\nodejs\\node_modules\\npm>npm inst         


        
11条回答
  •  佛祖请我去吃肉
    2020-12-25 14:40

    run >> npm config edit

    after open config file in editor, remove following lines

    registry=http://registry.npmjs.org/

    https-proxy=http://host/:port

    strict-ssl=false

提交回复
热议问题