Can't deploy my simple express app

Im trying to deploy my express/node.js api but it continues to fail on the promote section. settings:
Screenshot 2023-07-22 at 08.21.57
Not sure if the screenshot helps - but i dont have a command for the build. didnt think i need it.



Any help is much appreciated.

A few times repeated in that log I see:

sh: line 1: nodemon: command not found

So I suspect you were using nodemon, and the deployment doesn’t have it available. Either edit that line before deploying, or make npm update/install packages before running.

3 Likes

Worked like a charm sir!
In the Build section i did: “npm install -g nodemon; npm install;”

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.