Nodejs in Visual Studio Code 08. Enterprise Network and CNPM

Source: Internet
Author: User
Tags vps

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.