esm.sh
esm.sh copied to clipboard
Failed to import - nucypher-ts due to buffer size larger than 4KB
Failing module
- GitHub: https://github.com/nucypher/nucypher-ts
- npm: https://www.npmjs.com/package/@nucypher/nucypher-ts
When importing I get:
ExternalError: RangeError: WebAssembly.Compile is disallowed on the main thread, if the buffer size is larger than 4KB. Use WebAssembly.compile, or compile on a worker thread.
Firefox does not have the 4KB limit so import works fine there.
Why does the error say both WebAssembly.compile and WebAssembly.Compile ?