使用较高版本node
nvm use 18.18.2
https://www.yarnpkg.cn/getting-started/install
corepack -v
corepack prepare yarn@stable --activate
corepack enable
yarn -v
ref: https://yarnpkg.com/getting-started/install
标签:yarnpkg,corepack,getting,started,Yarn,https From: https://www.cnblogs.com/ssrain/p/17798737.html