Home
Support Forums

Getting Error on Angular v13 Build,

Hey All,
I’m getting this error on Build, My app is using Angular 13,

App URL: https://frosty-johnson-78215a.netlify.app

npm run env -s && ng build --configuration production

12:22:04 AM: Node.js version v12.18.0 detected.

12:22:04 AM: The Angular CLI requires a minimum Node.js version of either v12.20, v14.15, or v16.10.

12:22:04 AM: Please update your Node.js version or visit https://nodejs.org/ for additional instructions.

12:22:04 AM: npm ERR! code ELIFECYCLE

12:22:04 AM: npm ERR! errno 3

12:22:04 AM: npm ERR! ui-smiels@0.0.1-beta.48 build: npm run env -s && ng build --configuration production

12:22:04 AM: npm ERR! Exit status 3

12:22:04 AM: npm ERR!

12:22:04 AM: npm ERR! Failed at the ui-smiels@0.0.1-beta.48 build script.

12:22:04 AM: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

12:22:04 AM: npm ERR! A complete log of this run can be found in:

Hi @sohaibahsan007

The version of node.js in the build image is below that required by Angular. There are different methods to change the node.js version such as using the NODE_VERSION environment variable.

If you have further questions or issues with this, do not hesitate to reply.

1 Like