kriszyp / lmdb-js

Simple, efficient, ultra-fast, scalable data store wrapper for LMDB
Other
479 stars 39 forks source link

Adding Support for Win32 ARM64 #295

Open alan-agius4 opened 1 week ago

alan-agius4 commented 1 week ago

Currently, this library does not support the Win32 ARM64 platform, resulting in the following error during runtime:

No native build was found for platform=win32 arch=arm64 runtime=node abi=127 uv=1 armv=8 libc=glibc node=22.3.0
    attempted loading from: D:\Junk\my-app\node_modules\lmdb and package: @lmdb/lmdb-win32-arm64
kriszyp commented 1 week ago

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: https://github.com/parcel-bundler/lightningcss/issues/724 https://github.com/lovell/sharp/issues/2553 https://github.com/TryGhost/node-sqlite3/issues/874

alan-agius4 commented 5 days ago

Esbuild and rollup seem to support ARM64