I hope you are using latest macOS-10.15. if not try to use macOS-10.15 or latest.
By default, Azure DevOps upgrade the Nodejs runtime without notifying anyone. If you are trying to upgrade the Nodejs Make sure to use the latest Nodejs version. so that it will be the compatible with your application. In azure you have to specify the recent latest version otherwise it will take the default version
#specify the latest node version.
- task: NodeTool@0
displayName: Install Node.js
inputs:
versionSpec: 'Your node version e.g. 14.x'
2
Answers
For anyone looking for a resolution.
I managed to fix my issue by creating a new YAML pipeline and for some reason this worked.
I hope you are using latest macOS-10.15. if not try to use macOS-10.15 or latest.
By default, Azure DevOps upgrade the Nodejs runtime without notifying anyone. If you are trying to upgrade the Nodejs Make sure to use the latest Nodejs version. so that it will be the compatible with your application. In azure you have to specify the recent latest version otherwise it will take the default version
Refer here for more information