node-rs icon indicating copy to clipboard operation
node-rs copied to clipboard

Why browser.js is not platform specific?

Open vitpankin opened this issue 1 year ago • 1 comments

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.

vitpankin avatar Sep 09 '24 09:09 vitpankin

See https://github.com/napi-rs/node-rs/issues/792 for context

Brooooooklyn avatar Oct 03 '24 16:10 Brooooooklyn