[Linux] yarn 出現 ERROR: There are no scenarios; must have at least one.

會出現這個是因為執行的 yarn 是來自 cmdtest

重新安裝 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


參考來自 yarn 官方 Github
https://github.com/yarnpkg/yarn/issues/2821

留言

熱門文章