Azure Devops is not currently supported here on Microsoft QnA.
The Community Members and Engineers are actively answering questions in dedicated forums here. Please post your question in that forum:
https://developercommunity.visualstudio.com/spaces/21/index.html
https://azure.microsoft.com/en-in/support/devops/
NodeTool@ task fail on hosted agent
Kiko Aumond
21
Reputation points Microsoft Employee
Hi, I am running a pipeline on a macos-12 agent which has a NodeTool@ task
- task: NodeTool@0
inputs:
versionSource: 'spec'
versionSpec: '16.x'
checkLatest: false
This link: https://github.com/actions/runner-images/blob/main/images/macos/macos-12-Readme.md
mentions that NodeJS 16.8.1 is cached in macos-12 hosted agents
However, I often (but not always) get the following error when running my pipeline:
##[error]Unable to create directory '/opt/hostedtoolcache/node/16.18.1/x64'. EACCES: permission denied, mkdir '/opt/hostedtoolcache'
Why?
Thank you
Kiko
Accepted answer
-
deherman-MSFT 37,751 Reputation points Microsoft Employee
2022-12-01T21:09:53.26+00:00