node-rs
node-rs copied to clipboard
Why browser.js is not platform specific?
I use @node.rs/crc32 as a dependency in Pixi.js AssetPack. The whole app crashes as in @node-rs/crc32 node package in browser.js there's
export * from '@node-rs/crc32-wasm32-wasi'
But any package manager installs platform specific binary. Even if I try to install @node-rs/crc32-wasm32-wasi by hand it crashes as it's not compatible.
I have Apple Arm64.
See https://github.com/napi-rs/node-rs/issues/792 for context