Answer the question
In order to leave comments, you need to log in
What to do with the push problem?
Hello, I wanted to push my game bot from the github repository to heroku, connected everything, did everything,
and then suddenly a push error, here is the push
log:
-----> Building on the Heroku-20 stack
-----> Using buildpack: heroku/nodejs
-----> App not compatible with buildpack: https://buildpack-registry.s3.amazonaws.com/buildp...
! ERROR: Application not supported by 'heroku/nodejs' buildpack
!
! The 'heroku/nodejs' buildpack is set on this application, but was
! unable to detect a Node.js codebase.
!
! A Node.js app on Heroku requires a 'package.json' at the root of
! the directory structure.
!
! If you are trying to deploy a Node.js application, ensure that this
! file is present at the top level directory. This directory has the
! following files:
!
! clans.json
! dodji.js
! node_modules/
! oscrn.png
! package-lock.json
! Procfile
! promo.json
! start.bat
! users.json
!
! If you are trying to deploy an application written in another
! language, you need to change the list of buildpacks set on your
! Heroku app using the 'heroku buildpacks' command.
!
! For more information, refer to the following documentation:
! https://devcenter.heroku.com/articles/buildpacks
! https://devcenter.heroku.com/articles/nodejs-suppo...
More info: https://devcenter.heroku.com/articles/buildpacks#d...
! Push failed
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question