-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
On an arm64 edition of Windows 11:
PS C:\x> npm i ado-npm-auth
npm error code 1
npm error path C:\x\node_modules\azureauth
npm error command failed
npm error command C:\WINDOWS\system32\cmd.exe /d /s /c node ./scripts/install.cjs
npm error C:\x\node_modules\azureauth\bin directory was created
npm error Install failed: Arch is not supported in azureauth
npm error Install failed: Arch is not supported in azureauth
npm error Install failed: Arch is not supported in azureauth
npm error Error: Install failed after 3 attempts
npm error at Xu (C:\x\node_modules\azureauth\dist\install.cjs:5:81770)
npm error at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
npm error A complete log of this run can be found in: %localappdata%\npm-cache\_logs\2024-12-31T19_45_20_258Z-debug-0.log
Presumably this occurs because the install script doesn't have an entry for arm64.
Possible fixes, in descending order of preference:
- Compile an arm64-native version of azureauth.exe and update install.ts to link to it
- Merely update install.ts to point arm64 machines at the x64 binary -- many arm64 versions of Windows are capable of running x64 binaries well enough
- Update install.ts to give a clear error message, something like "We don't yet support ARM64 on Windows. For more information, see ado-npm-auth doesn't install on arm64 Windows #59"
If you don't have an arm64 version of Windows handy, please send me an email and I'll help you test any fixes you make here.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels