Im trying to deploy my express/node.js api but it continues to fail on the promote section. settings:
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.
Im trying to deploy my express/node.js api but it continues to fail on the promote section. settings:
Not sure if the screenshot helps - but i dont have a command for the build. didnt think i need it.
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.
Worked like a charm sir!
In the Build section i did: “npm install -g nodemon; npm install;”
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.