这是什么buildpack错误? [英] What is this buildpack error?
问题描述
我正在尝试将用create-react-app启动的React应用程序部署到heroku。构建不断失败,并且在命令行和构建日志中出现此错误
I am trying to deploy a react app bootstrapped with create-react-app to heroku. The build keeps failing, and I get this error on the command line and in the build log
App not compatible with buildpack:
https://github.com/AdamT213/RateYourAcquaintance.git
bash:
/ app / tmp / buildpacks / 85d7c3f242750d8981190d9ed3f29461a37d776664b86f3dc3263563e08c29443b03b01355b70cb2a4a461abab934f47aa7919c42b019918961b2ebf902b1fa / bin / detect
com / pack / a // $ info $ pack#a#build / pack info / binfo / pack info。 rel = nofollow noreferrer> https://devcenter.heroku.com/articles/buildpacks#detection-
失败
!推送失败
/app/tmp/buildpacks/85d7c3f242750d8981190d9ed3f29461a37d776664b86f3dc3263563e08c29443b03b01355b70cb2a4a461abab934f47aa7919c42b019918961b2ebf902b1fa/bin/detect No such file or directory More info: https://devcenter.heroku.com/articles/buildpacks#detection- failure ! Push failed
这是什么意思?
推荐答案
好的,我现在看看。我确实需要此URL时,尝试将我的应用程序的URL设置为buildpack: https://github.com/mars/create-react-app-buildpack.git 。现在有意义!
Okay, I see now. I was trying to set my app's url as the buildpack, when I really need this url: https://github.com/mars/create-react-app-buildpack.git. Makes sense now!
这篇关于这是什么buildpack错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!