Node Application Build Failed

Hi,
I am experiencing the error below whenever I try to deploy my node application.

Jan 12 02:05:22 PM
Jan 12 02:05:22 PM npm -h quick help on
Jan 12 02:05:22 PM npm -l display full usage info
Jan 12 02:05:22 PM npm help search for help on
Jan 12 02:05:22 PM npm help npm involved overview
Jan 12 02:05:22 PM
Jan 12 02:05:22 PM Specify configs in the ini-formatted file:
Jan 12 02:05:22 PM /opt/render/.npmrc
Jan 12 02:05:22 PM or on the command line via: npm --key value
Jan 12 02:05:22 PM Config info can be viewed via: npm help config
Jan 12 02:05:22 PM
Jan 12 02:05:22 PM npm@6.14.13 /usr/local/lib/node_modules/npm
Jan 12 02:05:22 PM ==> Build failed :disappointed:
Jan 12 02:05:22 PM ==> Generating container image from build. This may take a few minutes…

Hey,

Make sure to check that your build command is not only “npm” but “npm install” or “npm run build” for example (or whatever else you want to do in your build step). “npm” only will not trigger anything.

Jérémy, Render Support

Thank you for checking this out. I changed the build command to “npm run build”, I get the response below:

Jan 12 07:05:20 PM npm ERR! code ELIFECYCLE
Jan 12 07:05:20 PM npm ERR! errno 1
Jan 12 07:05:20 PM npm ERR! aceapp@0.0.0 build: node ./bin/www
Jan 12 07:05:20 PM npm ERR! Exit status 1
Jan 12 07:05:20 PM npm ERR!
Jan 12 07:05:20 PM npm ERR! Failed at the aceapp@0.0.0 build script.
Jan 12 07:05:20 PM npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Jan 12 07:05:20 PM
Jan 12 07:05:20 PM npm ERR! A complete log of this run can be found in:
Jan 12 07:05:20 PM npm ERR! /opt/render/.cache/_logs/2023-01-12T18_05_20_012Z-debug.log
Jan 12 07:05:20 PM ==> Build failed :disappointed:
Jan 12 07:05:20 PM ==> Generating container image from build. This may take a few minutes…

Hey Emeka,

Do you still require help with this issue?

Jérémy, Render Support