Node does not detect correct arch on Raspberry Pi arm64

494 Views Asked by At

Node does recognize the correct arch being used. This results in some trouble getting the correct binaries from some dependencies.

uname -m or arch returns aarch64

node -e 'console.log(process.arch)' returns arm

How can I fix this? Tried rebooting and re-installing node.

1

There are 1 best solutions below

0
Pimmesz On

Resolved by doing a full 64-bit re-install of the os.