0

I build a group project. When I try to deploy my project in heroku I got this error several time do you have any idea about heroku deployment ! [remote rejected] farzana -> main (pre-receive hook declined) error: failed to push some refs to 'https://git.heroku.com/guarded-taiga-13015.git' How can I fix this error?

Farzana Pomy
  • 31
  • 1
  • 4
  • That seems to be git related issue, some of your git hooks fail when you're pushing. Try running git pull command first – Pavel Bely Apr 18 '22 at 08:46
  • I tried to do this bro. but it's not working still now. do you have any other solution? – Farzana Pomy Apr 18 '22 at 09:57
  • The error message you've shared is the least helpful part. What does it say above that? Please [edit] your question and include all relevant errors. – ChrisGPT was on strike Apr 18 '22 at 10:40
  • i edited my post with an image. please check this error. – Farzana Pomy Apr 18 '22 at 11:10
  • [Please don't post screenshots of text](https://meta.stackoverflow.com/a/285557/354577). They can't be searched or copied, or even consumed by users of adaptive technologies like screen readers. Instead, paste the code as text directly into your question. If you select it and click the `{}` button or Ctrl+K the code block will be indented by four spaces, which will cause it to be rendered as code. – ChrisGPT was on strike Apr 18 '22 at 12:28
  • In any case, the error message very clearly says what the problem is and how to fix it. Please always read error messages as they tend to include helpful information. If you can't understand them yourself, please always include them when asking questions. – ChrisGPT was on strike Apr 18 '22 at 12:29
  • If anyone faces this problem please run only one package manager. yarn or npm. and delete another manager. then push in Netlify it will be worded. – Farzana Pomy Apr 19 '22 at 12:49

0 Answers0