yarn 1.x upgrade 2

Upgrade yarn to the latest version

npm install -g yarn

Switch to the project directory and run the following command

yarn set version berry

Add nodeLinker: node-modules under the .yarnrc.yml file
and run

yarn install

Guess you like

Origin blog.csdn.net/zhuweideng/article/details/122775665