Today to the company a colleague with Cmd to install Gulp (NPM install-g gulp), die and die installed, has been reported a lot of errors; After careful inspection is the problem of agents, so summarized as follows:
If your company's computer is setting up an agent to access the extranet, you need to set up a proxy for cmd:
1. First open cmd (Win + R, enter cmd, then press ENTER)
2. Enter the following command
Set Http_proxy=http://127.0.0.1:1189 set https_proxy=http://127.0.0.1:1189
where ":" After the address of their own proxy server, can be self-access
Note that the proxy server's address is viewed: Google Chrome--settings--Advanced--open proxy settings-LAN Settings--Replication proxy address can be
3, if your proxy server requires a user name and password, then you also need:
Set http_proxy_user=set Http_proxy_pass=
4. After the setup is complete, the network can be used normally under CMD. (NPM Install-g Gulp)
Problems with the CMD Setup agent for Windows