yarn出现“There are no scenarios ; must have at least one"

由 Jefsky 发布于 2024-05-22

事情是这样的,新部署好ubuntu服务器想用yarn安装一下,结果就出现

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

著作权归作者所有。
商业转载请联系作者获得授权,非商业转载请注明出处。
作者:JefskyWong ——程序猿甜品店
链接:https://www.jefsky.com/blog/331
来源:https://www.jefsky.com/