App Crashing
snaoaa4
FREEOP

a month ago

My App keeps crashing please help.I attached the log file and I still have 26days left of my trial.

Attachments

$10 Bounty

1 Replies

based on logs your code has a bug in server.js line 1 uses app before it's created. You have app.get("/health", ...) at the top of the file, but app (from express()) is defined later. You can fix this by placing const app = express(); at the top of server.js, before any app.get() calls.


Loading...