安装Yarn后,使用命令时出现错误

ERROR: There are no scenarios; must have at least one.

解决办法

#移除cmdtest
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

https://blog.csdn.net/weixin_40533355/article/details/81135112