Node.js version v12.18.0 detected, requires a minimum Node.js version of either v14.15, or v16.10 for angular

Following is the complete error

15:36:09.539	Started restoring cached go cache
15:36:09.593	Finished restoring cached go cache
15:36:09.791	go version go1.14.4 linux/amd64
15:36:09.807	go version go1.14.4 linux/amd64
15:36:09.810	Installing missing commands
15:36:09.810	Verify run directory
15:36:09.811	Executing user command: ng build
15:36:09.884	Node.js version v12.18.0 detected.
15:36:09.884	The Angular CLI requires a minimum Node.js version of either v14.15, or v16.10.
15:36:09.885	
15:36:09.885	Please update your Node.js version or visit https://nodejs.org/ for additional instructions.
15:36:09.885	
15:36:09.896	Failed: build command exited with code: 3
15:36:10.740	Failed: an internal error occurred

Got it resolved by setting environment variable with pages for key NODE_VERSION with required version. It solves this issue.

1 Like

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