Ubuntu使用Yarn命令出错"ERROR: There are no scenarios; must have at least one."

2022-01-23T13:07:14

安装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

当前页面是本站的「Baidu MIP」版。发表评论请点击:完整版 »