介绍
yarn 是一个包管理工具,并且可可以做为项目管理工具.无论你做是一个小项目或是大项目,无论是业余爱好者还是企业用户,都能用yarn来管理
安装
ERROR: There are no scenarios; must have at least one.
sudo apt remove cmdtest
sudo apt remove yarn
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt update
sudo apt install yarn
error excalidraw@: The engine "node" is incompatible with this module. Expected version ">=14.0.0". Got "10.19.0"
- 解决方法:
yarn config set ignore-engines true
- 然后在输入指令
yarn