Skip to content
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

Broken in the Electron renderer thread #127

Open
achingbrain opened this issue Feb 14, 2021 · 0 comments
Open

Broken in the Electron renderer thread #127

achingbrain opened this issue Feb 14, 2021 · 0 comments

Comments

@achingbrain
Copy link
Contributor

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.
  at instantiateSync (/home/travis/build/ipfs/js-ipfs-unixfs/node_modules/@assemblyscript/loader/index.js:306:11)
  at loadWebAssembly (/home/travis/build/ipfs/js-ipfs-unixfs/node_modules/rabin-wasm/dist/rabin-wasm.node.js:10:10)
  at create (/home/travis/build/ipfs/js-ipfs-unixfs/node_modules/rabin-wasm/src/index.js:5:28)
  at rabin (/home/travis/build/ipfs/js-ipfs-unixfs/packages/ipfs-unixfs-importer/src/chunker/rabin.js:67:19)
  at rabin.next (<anonymous>)
  at rabinChunker (/home/travis/build/ipfs/js-ipfs-unixfs/packages/ipfs-unixfs-importer/src/chunker/rabin.js:51:20)
  at rabinChunker.next (<anonymous>)
  at all (/home/travis/build/ipfs/js-ipfs-unixfs/node_modules/it-all/index.js:12:20)
  at Context.<anonymous> (/home/travis/build/ipfs/js-ipfs-unixfs/packages/ipfs-unixfs-importer/test/chunker-rabin.spec.js:30:26)
ipfs-uodules/mocha/lib/runner.js:486:14)
  at Immediate.<anonymous> (/home/travis/build/ipfs/js-ipfs-unixfs/node_modules/mocha/lib/runner.js:572:5)
  at processImmediate (internal/timers.js:456:21)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant