I tried to follow the official tuto but it doesn't works.
My project looks this: my-app api package.json app package.json
I tried to follow the official tuto but it doesn't works.
My project looks this: my-app api package.json app package.json
If heroku is not detecting your buildpack, follow this answer.
If in other hand, your app is not running even if you defined your buildpack it might be because your proc file is not properly defined.
In your app, a file called Procfile
must be created (with no extension) in the base of your directory. This file will tell heroku what to run.
A very simple example is this one. If for example your app has a server.js file, the procfile can be defined like this:
web: node server.js
If you have this file in your directory and you push to heroku, heroku will understand that it is a node app and will serve your app correctly.