首页 > 解决方案 > 通过 snap 安装 heroku 时出错

问题描述

当我在 Fedora 上安装 heroku 时,它显示了一个错误

bash-5.0$ sudo snap install heroku --classic
error: cannot perform the following tasks:
- Download snap "core" (8935) from channel "stable" (unexpected EOF)

如何解决

标签: linuxfedorasudoheroku-cli

解决方案


最后我找到了答案。我使用独立安装来安装heroku

$ curl https://cli-assets.heroku.com/install-ubuntu.sh | sh

上述问题可能是由于互联网连接不良所致。我意识到 snap 并不是一个真正的好工具。它有一些问题。


推荐阅读