npm replacement source (although recent proxy is still very slow, so use domestic source)

The first step, check the current source address

npm config get registry

The second step, if not displayed http://registry.npm.taobao.org/ then in general you are the original source (foreign) direct modification can be as follows:

npm config set registry http://registry.npm.taobao.org
Bye

Guess you like

Origin www.cnblogs.com/shundong106/p/11839076.html