IMLC.ME
Search…
en-US
Powered By GitBook
How to set registry to NPM and Yarn
If you're in China and encounted a problem that it's too slow or even unable to connect https://registry.yarnpkg.com, you can set yarn registry to https://registry.npm.taobao.org which is a npmjs.org mirror in China.
Run command:
1
yarn config set registry https://registry.npm.taobao.org
Copied!
Last modified 1yr ago
Copy link