gpt4 book ai didi

Heroku 客户端 pg 命令出现内部错误

转载 作者:行者123 更新时间:2023-12-02 06:32:17 25 4
gpt4 key购买 nike

当尝试运行任何 heroku pg 命令时,我收到此回溯:

$ heroku pg

! Heroku client internal error.
! Search for help at: https://help.heroku.com
! Or report a bug at: https://github.com/heroku/heroku/issues/new

Error: undefined method `get_attachments' for #<Heroku::API:0x007ffcf08b0390> (NoMethodError)
Backtrace: /Users/erik/.heroku/client/lib/heroku/helpers/heroku_postgresql.rb:99:in `app_attachments'
/Users/erik/.heroku/client/lib/heroku/helpers/heroku_postgresql.rb:104:in `hpg_databases'
/Users/erik/.heroku/client/lib/heroku/helpers/heroku_postgresql.rb:62:in `all_databases'
/Users/erik/.heroku/client/lib/heroku/command/pg.rb:340:in `hpg_databases_with_info'
/Users/erik/.heroku/client/lib/heroku/command/pg.rb:19:in `index'
/Users/erik/.heroku/client/lib/heroku/command.rb:218:in `run'
/Users/erik/.heroku/client/lib/heroku/cli.rb:28:in `start'
/usr/bin/heroku:25:in `<main>'

Command: heroku pg
Plugins: heroku-config
heroku-pg-extras

Version: heroku-toolbelt/3.6.0 (universal.x86_64-darwin13) ruby/2.0.0

所有其他命令都有效 - 并且之前找到的 pg 命令有效。对可能出现的问题有什么想法吗?

最佳答案

我刚刚遇到了同样的问题并打开了 Heroku 支持票。他们建议我实际上从 http://toolbelt.heroku.com 下载一个全新的工具带 .pkg并安装它。我刚刚跑过

heroku update

但这并没有解决问题,即使我的工具带版本显示为 3.6.0。我从上面的链接下载了新的 .pkg,运行它,一切正常。

关于Heroku 客户端 pg 命令出现内部错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22519719/

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