Issue related to Django Project , Please help ! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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/JUMP_LINK__&&__python__&&__JUMP_LINK.tgz" anyone can help me out on this ??? Tutorial link - https://youtu.be/xdd7V0ujy6Q

24th Mar 2020, 9:29 AM
ayushman tiwari
ayushman tiwari - avatar
1 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
9th Jun 2020, 9:50 PM
Daniele Compagnoni
Daniele Compagnoni - avatar