-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding Support for Win32 ARM64 #295
Comments
Are you aware of any Node.js native packages that have managed to do Windows ARM builds yet? I haven't found any, and I believe that this actually requires a Windows ARM runner to do the compilation, which is not currently not available anywhere, AFAIK: |
Esbuild and rollup seem to support ARM64
|
Hi @alan-agius4 did you find a way how to solve this error ? For now i was able to solve it with downgrade of node version from v20 to v18. My error was : |
It looks like rollup is using rust/cargo to do the builds, and I don't even see where esbuild builds are performed. I am not sure how these would inform how to run node-gyp build with an ARM target. I definitely would still love to do add support for Windows ARM if anyone finds anything that could help. PRs obviously welcome too. |
esbuild is using |
I don't really follow how the Makefile runs those source code files (not really a Go programmer, and seems like rewriting the lmdb-js build process would be a pretty big change and difficult to maintain, but again, PRs are welcome.) |
Hi this is a show stopper for developing angular aps on windows on ARM without resorting to wsl. (Snapdragon x1E84100 ) The problem however might be as simple as a path with a whitespace not being parsered. npm error path K:\github\cssproject\frontendtools\AP2020\ap-app\node_modules\lmdb |
As of yesterday, GitHub actions now has GA Support for Windows ARM64 runners - https://github.blog/changelog/2024-09-03-github-actions-arm64-linux-and-windows-runners-are-now-generally-available/ It looks like one of the examples mentioned above (parcel-bundler/lightningcss#724) does now have Windows ARM64 support, so I wonder if this might be possible now? |
any update? |
Yes, we have been continuing to work hard on this. I believe the Windows ARM64 runners are only available with paid accounts (or has that changed), so working @HarperDB, to try get builds running. We have the process started, but the current problem seems to be that Visual Studio is missing on Windows ARM64 runners, which is critical for the builds: |
Thank you for the quick reply. I also found a temporary fix to run the app. In my case, I’m using Angular, and by updating my pnpm config as shown below, I no longer receive errors. However, this approach isn’t native and increases build time. It’s a workaround until the current issue is resolved. Here’s what I used:
|
For this problem, I decided to use the x64 version of Node instead of ARM64 since this library does not support those platforms. |
Currently, this library does not support the Win32 ARM64 platform, resulting in the following error during runtime:
The text was updated successfully, but these errors were encountered: