Facerecognitionapp@0.1.0 build: `react-scripts build`

Aug 10 04:42:26 PM npm ERR! code ELIFECYCLE
Aug 10 04:42:26 PM npm ERR! errno 1
Aug 10 04:42:26 PM npm ERR! facerecognitionapp@0.1.0 build: react-scripts build
Aug 10 04:42:26 PM npm ERR! Exit status 1
Aug 10 04:42:26 PM npm ERR!
Aug 10 04:42:26 PM npm ERR! Failed at the facerecognitionapp@0.1.0 build script.
Aug 10 04:42:26 PM npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Aug 10 04:42:26 PM
Aug 10 04:42:26 PM npm ERR! A complete log of this run can be found in:
Aug 10 04:42:26 PM npm ERR! /opt/render/.cache/_logs/2023-08-10T14_42_26_297Z-debug.log
Aug 10 04:42:26 PM ==> Build failed :disappointed:

Is anyone able to assist me, I did add “npm install && npm run build”, Thanks.

Hi,

I expect there’s an actual error message further up in your deploy logs.

Something that seems to catch a lot of Node developers out, is not specifying their Node version.

The Node version being used is shown near the top of the deploy logs, along with a link on how to change it:

==> Using Node version 14.17.0 (default)
==> Docs on specifying a Node version: https://render.com/docs/node-version

Make sure you set it to the same version you developed/tested on, it can often make a difference - or at least rule it out as the issue.

Alan

1 Like

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