Skip to content

node - yarn

No candidates found
bash
yarn config get registry
yarn config set registry https://registry.npmmirror.com
yarn cache clean
rm -rf ~/.yarn/berry/metadata/npm
#先切换到官方源
yarn config set npmRegistryServer https://registry.npmjs.org/
yarn
#问题解决后再切回去
yarn config set npmRegistryServer https://registry.npmmirror.com/

上次更新时间:

最近更新