edit: udało mi się
Wystarczyły dwie linijki kodu:

w app.js

app.listen(process.env.PORT || 3000);

package.json

 "scripts": {
    "start": "node app.js"
  },

witajcie!
napisałem aplikację w express js, potem wrzuciłem projekt na githuba i na moim profilu heroku zrobiłem deploy wybierając projekt z githuba. Na localhost projekt uruchomił się bez kłopotów. Czy viewengine, który użyłem - PUG może nie funkcjonować na heroku? Może to kwestia zmiany kilku linijek w plikach źródłowych. Szukam rozwiązania na stackoverflow...

Dołączam log:

2021-12-07T10:37:29.158782+00:00 app[web.1]: Tue, 07 Dec 2021 10:37:29 GMT express-session deprecated undefined saveUninitialized option; provide saveUninitialized option at app.js:14:9
2021-12-07T10:37:29.159268+00:00 app[web.1]: Warning: connect.session() MemoryStore is not
2021-12-07T10:37:29.159270+00:00 app[web.1]: designed for a production environment, as it will leak
2021-12-07T10:37:29.159270+00:00 app[web.1]: memory, and will not scale past a single process.
2021-12-07T10:37:29.162981+00:00 app[web.1]: Server is running on port 3000.
2021-12-07T10:38:27.718933+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2021-12-07T10:38:27.825691+00:00 heroku[web.1]: Stopping process with SIGKILL
2021-12-07T10:38:27.843110+00:00 app[web.1]: Error waiting for process to terminate: No child processes
2021-12-07T10:38:28.017730+00:00 heroku[web.1]: Process exited with status 22
2021-12-07T10:38:28.124977+00:00 heroku[web.1]: State changed from starting to crashed
2021-12-07T10:38:29.945687+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=tibiantis-contact-list.herokuapp.com request_id=42c0bb2e-b4a9-4d9c-83cf-b2bc1e84e534 fwd="83.22.17.144" dyno= connect= service= status=503 bytes= protocol=https
2021-12-07T10:38:29.956605+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=tibiantis-contact-list.herokuapp.com request_id=b6fd7b81-4954-4966-902e-d8adfbc85be4 fwd="83.22.17.144" dyno= connect= service= status=503 bytes= protocol=https
2021-12-07T10:38:33.404080+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=tibiantis-contact-list.herokuapp.com request_id=ca389272-8cfc-47c6-8e11-37b340b3fa2b fwd="83.22.17.144" dyno= connect= service= status=503 bytes= protocol=https
2021-12-07T10:38:33.632140+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=tibiantis-contact-list.herokuapp.com request_id=ce450a15-4b57-48a1-85c5-7abc8b689b5b fwd="83.22.17.144" dyno= connect= service= status=503 bytes= protocol=https
2021-12-07T10:38:34.255555+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=tibiantis-contact-list.herokuapp.com request_id=c4de0ad1-a182-4c2d-8e02-e169d1052bce fwd="83.22.17.144" dyno= connect= service= status=503 bytes= protocol=https
2021-12-07T10:38:34.557392+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=tibiantis-contact-list.herokuapp.com request_id=52f38061-12db-445a-9a61-214ca9590ab5 fwd="83.22.17.144" dyno= connect= service= status=503 bytes= protocol=https
2021-12-07T10:38:35.134281+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=tibiantis-contact-list.herokuapp.com request_id=ec4dedc8-5578-42f3-9102-cd913414528c fwd="83.22.17.144" dyno= connect= service= status=503 bytes= protocol=https
2021-12-07T10:38:35.453784+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=tibiantis-contact-list.herokuapp.com request_id=73ed47de-f450-4f07-ac4f-39831809144e fwd="83.22.17.144" dyno= connect= service= status=503 bytes= protocol=https
2021-12-07T10:38:38.627692+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=tibiantis-contact-list.herokuapp.com request_id=6b0d1f44-1058-4d45-8369-112740bf24ba fwd="83.22.17.144" dyno= connect= service= status=503 bytes= protocol=https
2021-12-07T10:38:38.915962+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=tibiantis-contact-list.herokuapp.com request_id=39b5a514-0402-4479-a6c5-61369881c4dc fwd="83.22.17.144" dyno= connect= service= status=503 bytes= protocol=https