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

WebAssembly.instantiate(): Wasm code generation disallowed by embedder #43

Open
2820402 opened this issue Sep 27, 2024 · 2 comments
Open
Labels
question Further information is requested

Comments

@2820402
Copy link

2820402 commented Sep 27, 2024

✘ [ERROR] ⨯ [Error: [next-mdx-remote] error compiling MDX:

WebAssembly.instantiate(): Wasm code generation disallowed by embedder

More information: https://mdxjs.com/docs/troubleshooting-mdx] {
digest: '4048960585',
page:
'/blog/test'
}

@dario-piotrowicz
Copy link
Contributor

Hi @2820402, thanks for the issue 🙂

Are you (or any dependency you might be using to compile the MDX code) by any chance calling WebAssembly.instantiate with a buffer argument?

Because if that's the case, it not running is an intentional behavior of our runtime (see: docs)

@2820402
Copy link
Author

2820402 commented Sep 27, 2024

Hi @2820402, thanks for the issue 🙂

Are you (or any dependency you might be using to compile the MDX code) by any chance calling WebAssembly.instantiate with a buffer argument?

Because if that's the case, it not running is an intentional behavior of our runtime (see: docs)

I am using next-mdx-remote with some rehype and remark plugins and using shiki for syntax highlighting

@vicb vicb added the question Further information is requested label Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants