When you install npm install, long stay in fetchMetadata solution

When you install npm install, long stay in fetchMetadata: sill mapToRegistry uri http://registry.npmjs.org/whatwg-fetch place,

Here you need to download some files at the corresponding URL, as long as the network is stable, the general would not take long

However, the last two operations are stay long on the Internet to find some reason, only to find the back of the URL address may be replaced by Taobao source, turned out to be caused by resource issues

Methods as below:

Replaced Taobao source

config SET Registry https://registry.npm.taobao.org NPM 
- the configuration can be verified by the following manner successful 
NPM config GET Registry 
- or npm info express

Guess you like

Origin www.cnblogs.com/wzhw2015/p/12370108.html