-
Notifications
You must be signed in to change notification settings - Fork 282
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
🐛 BUG: Error with Rust 1.82.0 in Wrangler #668
Comments
I have the same bug |
same here. Tried running all the templates no success |
Edit: run |
This work around worked for me. I was having the same issue. Thanks. |
@kornelski Could you link to the issue/pr in I'm trying to use the patch you suggested and getting an error
so assuming I need to build nightly, however I'm also not able to get
|
I guess Adding this fixed the above build failure for me. |
Removing the patch suggested above and running personally I would still like to know what fixed it in wasm-bindgen so they can make sure there is a regression test for this issue... |
Which Cloudflare product(s) does this pertain to?
Wrangler
What version(s) of the tool(s) are you using?
wrangler 3.81.0, rustc 1.82.0
What version of Node are you using?
20.10.0
What operating system and version are you using?
Ubuntu 22.04
Describe the Bug
Observed behavior
When using Rust version 1.82.0, running npx wrangler dev or npx wrangler deploy can result in an error related to WebAssembly imports. The error message may vary slightly but typically includes.
✘ [ERROR] service core:user:rs-worker: Uncaught LinkError: WebAssembly.Instance(): Import cloudflare/workers-sdk#2 "./index_bg.js" "__wbg_fetch_bc7c8e27076a5c84": function import requires a callable at null. (shim.js:41:9)
✘ [ERROR] The Workers runtime failed to start. There is likely additional logging output above.
When downgrading to Rust version 1.81.0, the problem disappears and everything works as expected.
Expected behavior
The runtime should start successfully when using npx wrangler dev or npx wrangler deploy without producing errors in the console.
Steps to reproduce
Please provide the following:
Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs
✘ [ERROR] service core:user:rs-worker: Uncaught LinkError: WebAssembly.Instance(): Import cloudflare/workers-sdk#2 "./index_bg.js" "__wbg_fetch_bc7c8e27076a5c84": function import requires a callable at null. (shim.js:41:9)
✘ [ERROR] The Workers runtime failed to start. There is likely additional logging output above.
The text was updated successfully, but these errors were encountered: