TFS Automated Build error due to running lower node version than supported

Viewed 51

This is my first time trying to build something using an automated build on TFS.

I have an angular frontend project I am trying to get to build on TFS via an automated build process and get the following error when I run "npm run ng build --prod" in the command prompt in TFS.

"You are running version v8.9.4 of Node.js, which is not supported by Angular CLI 8.0+. The official Node.js version that is supported is 10.9 or greater."

I have searched on google and SO but have not found anything that is close enough to really help with this. How do I upgrade the version of Node that TFS is using? My local version is 12.7.

0 Answers
Related