1. Start
cnpm:https://npm.taobao.org/
2. Enterprise Network HTTP Proxy internet
Usually office in a large Enterprise network (10.*.*.*), using HTTP proxy Internet, found that NPM command can not be executed.
The solution is as follows:
1. Install and set up the proxifier,https://www. proxifier. com
Proxifier effectively solves the embarrassing tragedy that Node.exe does not look for proxies set in the browser as the default proxy to perform.
2. Install shadowsocks, buy a VPS, install a service side, encounter NPM exhaust when using--proxy http://127.0.0.1:1080 to mount module
In the move to buy a vps,4 Mei knife a year, one months 100G traffic, on YouTube to watch 480P video, and to move the bricklayer VPS through the next step to the next point of the Web page can be installed Shadowsocks service side, is simply friendly to no friends ah. ( Now the move bricklayer does not seem to have 4 U.S. knives a year of VPS sold, what the situation ...) )
3. Can't fq, don't want to buy VPS get too complicated, no relationship, please install CNPM
$ NPM install-g cnpm--registry=https://registry.npm.taobao.org
Big business to the user note bird, if you do not install Proxifier, please automatically add--proxy every time you access the NPM command http://10.*.*.*:8080
Nodejs in Visual Studio Code 08. Enterprise Network and CNPM