When trying to build an angular project, we're seeing this
+ ng build --prod
You are running version v6.9.4 of Node.js, which is not supported by Angular CLI v6.
The official Node.js version that is supported is 8.9 and greater.
How to update the version of NodeJS? We tried adding
- apt-get update
- apt-get install nodejs -y
to our script but not working!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.