0

I'm trying to push my nodejs(express) app to heroku using heroku push master.

I keep getting the following error:

App not compatible with buildpack:
https://buildpack-registry.s3.amazonaws.com/buildpacks/heroku/nodejs.tgz
B--rian
  • 5,578
  • 10
  • 38
  • 89
Fola
  • 1
  • 2
  • Ok from research, i see that the app must have a package.json file and a readme.md file before i can push to heroku (i mean for a nodejs app like mine). But, heck i do!!!. or i thought i did. apparently i have all my work on branches because i have kept my code base(master) clean hence i don't have a package.json file. what do i do now, pls help!!! – Fola Jan 28 '20 at 14:43
  • what have you tried so far? Can you post a [MVE](https://stackoverflow.com/help/minimal-reproducible-example)? – blkpingu Jan 28 '20 at 14:44
  • Does this answer your question? [App not compatible with buildpack - Heroku](https://stackoverflow.com/questions/46109465/app-not-compatible-with-buildpack-heroku) – blkpingu Jan 28 '20 at 14:47

1 Answers1

0

when I participated at Node Knockout last year, I ran into the same problem. Turned out I forgot to add a Procfile.

Do you have one? If so, could you share its content?

Ryuno-Ki
  • 692
  • 1
  • 6
  • 8