当我运行 curl 时,它显示此错误:
~$ curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
gpg: can't connect to the agent: IPC connect call failed
我无法安装 yarn 。
我试着杀了:
~$ kill -9 gpg-agent
并重新启动:
~$ gpg-agent --daemon
但到目前为止没有任何效果。有什么建议吗?
最佳答案
我从根本上做到了这一点-
npm install -g yarn
检查 yarn 是否安装 -
yarn --version
有效。
关于bash - 通过 Bash shell WSL1 安装 Yarn,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61509216/