npm install error/issue

前端 未结 3 1717
心在旅途
心在旅途 2020-12-12 02:04

I have already set proxy configurations in .npmrc file. Executing the npm install command gives me error as follows\"

$ npm install npm ERR! Windows_

3条回答
  •  离开以前
    2020-12-12 02:32

    first give the command and check if proxy is set,npm config get proxy if not set do the following from command prompt

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

    and if password contains '@'in password, then replace it with '%40'

提交回复
热议问题