gpt4 book ai didi

javascript - yarn 错误 : There are no scenarios; must have at least one

转载 作者:数据小太阳 更新时间:2023-10-29 04:34:21 25 4
gpt4 key购买 nike

我尝试安装 Yarn当我使用 yarn 命令时,我得到了:

00h00m00s 0/0: : ERROR: There are no scenarios; must have at least one.

我的 yarn --version0.32。为什么它不起作用?

最佳答案

看起来我试图执行错误的 yarn ,因为在我的 Ubuntu 18.04 上简单地运行 sudo apt install yarn 给了我 yarn from cmdtest .

所以我通过卸载它来解决:

sudo apt remove yarn

并将其安装为 official website explains ,在我的例子中(Ubuntu 18.04)是这样的:

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

关于javascript - yarn 错误 : There are no scenarios; must have at least one,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53471063/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com