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

wasm is not defined using Wrangler >=1.14.0 #15

Open
wakfi opened this issue Mar 24, 2021 · 4 comments · May be fixed by #16
Open

wasm is not defined using Wrangler >=1.14.0 #15

wakfi opened this issue Mar 24, 2021 · 4 comments · May be fixed by #16

Comments

@wakfi
Copy link

wakfi commented Mar 24, 2021

In Wrangler release 1.14.0 the global wasm binding was changed to WASM_MODULE (see #1730). The template no longer works out of the box if used with this version or newer.

@wakfi wakfi linked a pull request Mar 24, 2021 that will close this issue
@xtuc
Copy link
Member

xtuc commented Mar 24, 2021

We could also revert my change, maybe other template rely on that

@rmarx
Copy link

rmarx commented Apr 26, 2022

Having spent the better part of 3 hours figuring out why the example code wasn't working, I am simply flabbergasted this was not only reported over a year ago, but ALSO still not fixed despite the PR... what on earth.

@warvstar
Copy link

Any update on this? Looks like webassembly is not supported anymore, past 1.14.0?

@wakfi
Copy link
Author

wakfi commented May 16, 2022

@warvstar As I mentioned in the description of this issue, the binding used to be named wasm, but was renamed to WASM_MODULE. If you use this name instead, it'll work. You can see what I mean by this in the PR I linked to fix this issue, #16

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

Successfully merging a pull request may close this issue.

4 participants