linux - 通过 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)
如何解决
解决方案
最后我找到了答案。我使用独立安装来安装heroku
$ curl https://cli-assets.heroku.com/install-ubuntu.sh | sh
上述问题可能是由于互联网连接不良所致。我意识到 snap 并不是一个真正的好工具。它有一些问题。
推荐阅读
- reactjs - 喜欢有条件地在formik中渲染一个initialValue
- llvm - 如何在 LLVM IR 中使用 RISC-V 向量 (RVV) 指令?
- node.js - 如何在moodle中添加nodejs?
- rust - 为什么我在防锈闭合时出现终身错误
- c++ - Visual Studio 2019 测试资源管理器没有找到 c++ google 测试
- swift - 使用 Swift 5 在 Xcode 12 中无法推断数组错误
- google-chrome-extension - 如果特定 url 选项卡在任何地方打开,Chrome 扩展程序会显示上下文菜单
- cmd - dir 命令在本地驱动器和网络驱动器之间输出不同的结果
- java - 在 JSP 中重定向到另一个 JSP 页面
- java - 如何在回收站视图中查找值的总和