Skip to content

[BUG]: Mac arm64 agents are using x64 version of Node #20763

Open
@amrmesbah

Description

New issue checklist

Task name

No response

Task version

No response

Issue Description

Node version used on Mac arm64 is x64 and relying on emulation (Rosetta) to be installed on the machine for it to work which is not installed by default.

Environment type (Please select at least one enviroment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

Mac (arm64)

Relevant log output

> node -v

> uname -m

> prepending PATH /Volumes/Data/repos/azure-pipelines-tasks/_download/archive/3ffaebb0bf8c12be2635a4b99d668667fa5be90280a257af9a34a4549711ac77/node-v20.17.0-darwin-x64/bin
node tool:
v20.17.0
/Volumes/Data/repos/azure-pipelines-tasks/_download/archive/3ffaebb0bf8c12be2635a4b99d668667fa5be90280a257af9a34a4549711ac77/node-v20.17.0-darwin-x64/bin/node

------------------------------------------------------------
Building task UsePythonVersionV0_Node20 using Node.js 20
------------------------------------------------------------
Found generated task: UsePythonVersionV0_Node20
Remove existing outDir: /Volumes/Data/repos/azure-pipelines-tasks/_build/Tasks/UsePythonVersionV0_Node20
createResjson /Volumes/Data/repos/azure-pipelines-tasks/_generated/UsePythonVersionV0_Node20

Full task logs with system.debug enabled

No response

Repro steps

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions