Tag not monitored by Microsoft.
After spending half a day I found the solution for this problem:
- 1st of all the problem is not clear at all: Whats happening is that the pipeline is using a old node version (7 probably) to run the extension - thats why modern syntax is not recognized
- SOLUTION: update your
task.jsonfile as per below:
"execution": {
"Node16": {
"target": "index.js"
}
}
- This will make this and future problems that you would have go away.
reference: https://johnnyreilly.com/azure-pipelines-custom-pipelines-task-extension-node-16#migrating-a-task-to-nodejs-16