0

In Azure DevOps I'm using the 'npm task' to install a package. The next action is to use a Command Line task to run the 'ng build' command. However, I get an error message that ng command does not exist.

How do I execute the 'ng build' command using tasks in Azure DevOps?

Jay
  • 177
  • 8

1 Answers1

0

You need to add a prior task, make sure that the following npm and node versions are set

enter image description here

Add 'Node.js tool installer' task to settle node.js version to supported

Sajeetharan
  • 203,447
  • 57
  • 330
  • 376