【发布时间】:2023-01-31 17:43:44
【问题描述】:
我想看看如何第一次在 Heroku 应用程序上使用 React。
我遵循了这些教程: https://www.bacancytechnology.com/blog/deploy-react-app-on-heroku https://stackabuse.com/how-to-deploy-a-react-app-to-heroku/
到最后,我在运行命令时遇到了以下问题:git push heroku 主
我做了两次试验,每次都有同样的问题。我不记得以前见过这个。处理这种情况的方法是什么?
remote: Verifying deploy...
remote:
remote: ! Push rejected to testapp.
remote:
To https://git.heroku.com/testapp.git
! [remote rejected] main -> main (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/testapp.git'
me@My-MacBook testapp %
【问题讨论】:
-
这回答了你的问题了吗? git, Heroku: pre-receive hook declined