You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
On Windows arm64 os.machine() returns unknown #62232
Submitted a fix for this in PR #62235. The issue was that Windows ARM64 detection was falling back to 'unknown' in libuv. The fix uses Windows API GetSystemInfo() to properly detect ARM64 when os.machine() would otherwise return 'unknown'.
Activity
chris-addison commentedon Mar 12, 2026
I wrote a quick powershell script to query various windows apis. Here's the json output:
{ "node": { "platform": "win32", "arch": "arm64", "machine": "unknown", "release": "10.0.26200", "version": "Windows 11 Pro", "cpuModel": "Microsoft SQ3", "cpuCount": 8 }, "nativeApis": { "getSystemInfo": { "wProcessorArchitecture": 12, "processorArchitecture": "ARM64", "wReserved": 0, "dwPageSize": 4096, "lpMinimumApplicationAddress": "0x10000", "lpMaximumApplicationAddress": "0x7FFFFFFEFFFF", "dwActiveProcessorMask": "0xFF", "dwNumberOfProcessors": 8, "dwProcessorType": 0, "dwAllocationGranularity": 65536, "wProcessorLevel": 3403, "wProcessorRevision": 0 }, "getNativeSystemInfo": { "wProcessorArchitecture": 12, "processorArchitecture": "ARM64", "wReserved": 0, "dwPageSize": 4096, "dwNumberOfProcessors": 8, "dwProcessorType": 0, "dwAllocationGranularity": 65536, "wProcessorLevel": 3403, "wProcessorRevision": 0 }, "isWow64Process2": { "available": true, "processMachineCode": 0, "processMachine": "native", "nativeMachineCode": 43620, "nativeMachine": "ARM64" }, "rtlGetVersion": { "ntstatus": 0, "major": 10, "minor": 0, "build": 26200, "platformId": 2, "servicePack": "", "servicePackMajor": 0, "servicePackMinor": 0 }, "getVersionExW": { "success": true, "lastError": 203, "major": 10, "minor": 0, "build": 26200, "platformId": 2, "servicePack": "", "servicePackMajor": 0, "servicePackMinor": 0 }, "environment": { "PROCESSOR_ARCHITECTURE": "ARM64", "PROCESSOR_IDENTIFIER": "ARMv8 (64-bit) Family 8 Model D4B Revision 0, Qualcomm Technologies Inc" } } }zakiscoding commentedon Mar 12, 2026
Submitted a fix for this in PR #62235. The issue was that Windows ARM64 detection was falling back to 'unknown' in libuv. The fix uses Windows API GetSystemInfo() to properly detect ARM64 when os.machine() would otherwise return 'unknown'.
fix(os): return 'arm64' from os.machine() on Windows ARM64 (fix nodej…
Renegade334 commentedon Mar 12, 2026
This is addressed by #61829.
chaiphetwongchaiyatham0-ohmk commentedon Mar 21, 2026
khalidsaidi commentedon Mar 25, 2026