尝试使用 Heroku 托管站点。 Heroku 已在之后收到应用程序
git 提交
但当我输入以下内容时,它不会最终确定:
git push heroku master
这是我收到的输出:
Enumerating Objects: 51, done.
Counting Objects: 100% (51/51), done.
Delta compression using up to 4 threads
Compressing objects: 100% (49/49), done.
Error: RPC failed; HTTP 504 curl 22 The requested URL returned error: 504
Fatal: the remote end hung up unexpectedly
Writing objects: 100% (51/51), 48.24 MiB | 13 KiB/s, done.
Total 51 (delta 2), reused 0 (delta 0)
fatal: the remote end hung up unexpectedly
Everything up-to-date
最佳答案
我遇到了同样的错误,看来您的 key 有问题,您需要将当前的 key 上传到heroku
heroku keys:add
“管理您的 SSH key ”的详细信息:https://devcenter.heroku.com/articles/keys
关于git - Heroku git 推送 - "fatal: the remote end hung up unexpectedly",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57643375/