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