Uncaught RangeError: WebAssembly.Compile is disallowed on the main thread, if the buffer size is larger than 4KB

See original GitHub issue
Uncaught 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 lazyllhttp (\node_modules\undici\lib\client.js:418:13)
    at new Parser (\node_modules\undici\lib\client.js:486:19)
    at \node_modules\undici\lib\client.js:1176:25

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ronagcommented, Oct 27, 2021

Running in Adobe’s node plugin system.

0reactions
deadbeef84commented, Oct 29, 2021

#1077 works! 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

WebAssembly.Compile is disallowed on the main thread, if the ...
RangeError : WebAssembly.Compile is disallowed on the main thread, if the buffer size is larger than 4KB. Use WebAssembly.compile, or compile on ...
Read more >
Unable to import WebAssembly modules bigger than 4KB #6475
RangeError : WebAssembly.Instance is disallowed on the main thread, if the buffer size is larger than 4KB. Use WebAssembly.instantiate.
Read more >
How to compile wasm in a worker thread : r/WebAssembly
WebAssembly.Compile is disallowed on the main thread, if the buffer size is larger than 4KB. Use WebAssembly.compile, or compile on a worker ...
Read more >
WebAssembly.instantiate() - MDN Web Docs
The WebAssembly.instantiate() function allows you to compile and instantiate WebAssembly code. This function has two overloads:
Read more >
How to compile Solidity code in the browser?
I am building a tool to deploy solidity contracts using pre-made templates. I want to compile solidity ( ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found