npm ERR! network getaddrinfo ENOTFOUND

前端 未结 17 992
傲寒
傲寒 2020-12-02 18:12

I am getting npm ERR! network getaddrinfo ENOTFOUND error while trying to install any package using NPM. I know there are numerous threads on the same issue but

17条回答
  •  半阙折子戏
    2020-12-02 18:43

    Maybe it's because the proxy do not stand for https. What I do is clear the proxy content of ~/.npmrc, or use

        npm config delete proxy
    

    What's more, nrm is recommended for this problem.

提交回复
热议问题