npm ERR! network getaddrinfo ENOTFOUND

前端 未结 17 973
傲寒
傲寒 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:54

    Step 1: Set the proxy npm set proxy http://username:password@companyProxy:8080

    npm set https-proxy http://username:password@companyProxy:8080

    npm config set strict-ssl false -g

    NOTES: No special characters in password except @ allowed.

提交回复
热议问题