I have been stuck at this for a while now and similar issues don't seem to help.
In Azure DevOps, the pipeline fails at the npm build level.
Agent: macOS-10.15
Can someone help please.
I have been stuck at this for a while now and similar issues don't seem to help.
In Azure DevOps, the pipeline fails at the npm build level.
Agent: macOS-10.15
Can someone help please.
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'
Refer here for more information
For anyone looking for a resolution.
I managed to fix my issue by creating a new YAML pipeline and for some reason this worked.