'Error in setting up azure devops pipeline
I'm getting an error in setting up azure devops pipeline - non yaml. As usual build is failing. My application is in angular.
I've followed this video to setup pipeline https://youtu.be/GhPi3xBhzrI
Solution 1:[1]
Error in setting up azure devops pipeline
According to the error message "missing script:ng", which means you don't have a configuration for ng in your scripts.
Basically to run any angular project you need to make sure the scripts or commands are defined inside your package.json.
Most angular projects will have a script configuration like below
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
...
},
So, please check your package.json file, if you have it in your package.json,please share the debug log, which mentioned in the error log.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Leo Liu-MSFT |

