通过Bash shell WSL1安装纱线
运行curl时,会显示以下错误:通过Bash shell WSL1安装纱线,bash,ubuntu,installation,yarnpkg,windows-subsystem-for-linux,Bash,Ubuntu,Installation,Yarnpkg,Windows Subsystem For Linux,运行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 我无法安装纱线 我试着杀死: ~$ kill -9 gpg-agent 和重新启动: ~$ gpg-agent --daemon 但到目前为止,一切都不起作用。有什么建议吗?我是从
~$ curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
gpg: can't connect to the agent: IPC connect call failed
我无法安装纱线
我试着杀死:
~$ kill -9 gpg-agent
和重新启动:
~$ gpg-agent --daemon
但到目前为止,一切都不起作用。有什么建议吗?我是从根做起的-
npm install -g yarn
检查纱线是否已安装-
yarn --version
它起作用了。以下几点对我起作用了:
sudo apt remove gnupg
sudo apt autoremove
sudo apt install gnupg1
这将安装GNUPG Classic。阅读更多