Installing angular-cli on Windows Behind Proxy Server

后端 未结 6 1197
轻奢々
轻奢々 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:41

    1. Download and install Nodejs https://nodejs.org/en/download/

    2. Check your proxy setting. Based on your organization it will be change. If proxy not define you need to define your proxy setting in to LAN setting.

    1. Run CMD as Administrator enter the command

      npm config set https-proxy http://10.10.20.60:80

    1. If you are going to install in to a remote PC or you need windows Active Directory credential for installation.

    1. run angular cli command:

      npm i –g angular-cli

提交回复
热议问题