-
Notifications
You must be signed in to change notification settings - Fork 5
Feature Request: Cloudflare pages gives a CompileError at runtime #128
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
Comments
This is a limitation of the Cloudflare runtime. By patching the library you possibly could work around it. See cloudflare/next-on-pages#704 (comment) |
Thank you so much, I'll look to see if i can work around it. Would you consider adding a version of this package that is compatible with Cloudflare's runtime? |
I won't have time myself, but if you update the build process to generate one and open a PR. Happy to review and accept it. |
Not an expert in WASM, so ill give it my best shot when i have some time for it 😄 |
I changed the title :) |
I'm running into a problem on Cloudflare pages, where at runtime it throws this error
CompileError: WebAssembly.compile(): Wasm code generation disallowed by embedder
.I'm not totally sure its
@serenity-kit/opaque
that's directly causing the problem but it is the only WASM I'm using in my project.For context, it's a Sveltekit application, not sure if that can be of help. 😄
Reach out if there is any extra information i can give to help resolve this problem.
The text was updated successfully, but these errors were encountered: