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
According to the website, Linux + JS + arm64 is not possible. Even if I generate the bindings, there are many errors when trying to generate a dist in ./js/node. @fs-eire is the maintainer.
Describe scenario use case
Raspberry Pi 4 Node.js application.
The text was updated successfully, but these errors were encountered:
We do have a Linux ARM64 support which takes dependency on glibc. It may be loaded when using linux/arm64.
please check if the nodejs print "arm64" and "linux" for
node -p "process.arch"
node -p "process.platform"
I get arm and linux, respectively. My uname -a output is Linux raspberrypi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux, indicating aarch64.
It appears that it's looking for the ./bin/napi-v3/linux/arm/, which doesn't exist. Since it's dynamically generating it using process.arch, it's using the incorrect arm reading instead of arm64. I reinstalled Raspberry Pi OS Bookworm and now it returns arm64. Problem solved!
Describe the feature request
According to the website, Linux + JS + arm64 is not possible. Even if I generate the bindings, there are many errors when trying to generate a
dist
in./js/node
. @fs-eire is the maintainer.Describe scenario use case
Raspberry Pi 4 Node.js application.
The text was updated successfully, but these errors were encountered: