Issue related to Django Project , Please help ! | SoloLearn: Learn to code for FREE!

+1

Issue related to Django Project , Please help !

I want to deploy my django project online via heroku ,i've included all the important files as well requirements.txt , runtime.txt , Procfile under the DRI e.g Project> webapp > webapp(all my .py files and folder like static , template n etc are here) and I'm following this heroku tutorial to do so and i've followed each and every steps as mentioned in this tutorial , but at the end when i run git push heroku master cmd I'm getting this error "App not compatible with buildpack: https://codon-buildpacks.s3.amazonaws.com/buildpacks/heroku/python.tgz" anyone can help me out on this ??? Tutorial link - https://youtu.be/xdd7V0ujy6Q

3/24/2020 9:29:04 AM

ayushman tiwari

1 Answer

New Answer

+1

That error means there is no package.json at the root of the git repo. Either your app isn’t fully committed to git, or maybe it’s in a sub-directory? The React app must be at the top-level to work with this buildpack. Maybe this discussion can be useful to your cause: https://stackoverflow.com/questions/46109465/app-not-compatible-with-buildpack-heroku