我在将主分支推送到 heroku 时遇到问题。我正在使用以下命令:
git push heroku master
我遇到的错误-
Counting objects: 114, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (112/112), done.
Writing objects: 100% (114/114), 335.40 KiB | 0 bytes/s, done.
Total 114 (delta 0), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Failed to detect set buildpack https://codon-buildpacks.s3.amazonaws.com/buildpacks/heroku/php.tgz
remote: More info: https://devcenter.heroku.com/articles/buildpacks#detection-failure
remote:
remote: ! Push failed
remote: Verifying deploy...
remote:
remote: ! Push rejected to skyconfapp.
remote:
To https://git.heroku.com/skyconfapp.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/skyconfapp.git'
我什至访问了 Heroku 的链接https://devcenter.heroku.com/articles/buildpacks#detection-failure https://devcenter.heroku.com/articles/buildpacks#detection-failure并尝试实施他们提到的每一种方法,但似乎没有什么对我有用。
有人可以帮忙吗?
就发生在我身上,然后我就开始工作了
尝试清除构建包,再次添加它并添加/提交/推送到heroku
heroku buildpacks:clear
heroku buildpacks:set heroku/php
git add/commit/push heroku master
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)