Installing angular-cli on Windows Behind Proxy Server

后端 未结 6 1275
轻奢々
轻奢々 2021-02-06 07:58

I am currently building Angular 2 demos from behind a corporate proxy server with known issues for blocking both NPM and TypeScript \'typings\' installs. While I have been able

6条回答
  •  不要未来只要你来
    2021-02-06 08:22

    To load npm modules behind a proxy server you need to type in following commands in the node.js terminal:

    1. npm config set proxy http://proxy.company.com:8080
    2. npm config set https-proxy http://proxy.company.com:8080

提交回复
热议问题