dioxus
dioxus copied to clipboard
Issues with wasm-bindgen for "dx serve --web" in v0.7.0-rc.3
Problem
Hi, at least for me I get the following error when creating a new dx project with default settings and running dx serve --web:
wasm-bindgen error: error: failed to find the `__wbindgen_externr f_table_alloc` function
Environment:
- Dioxus CLI version: 0.7.0-rc.3
- Rust version:
1.90 - OS info: Ubuntu
24.04.3LTS - App platform:
web
[dev] wasm-bindgen error: error: failed to find the
__wbindgen_externref_table_deallocfunction
Environment: Dioxus CLI version: 0.7.0-0.7.1 Rust version: 1.90-1.91.1 OS info: macOS 15.6 App platform: web
So that I have to limit web-sys to v0.3.78 with wasm-bindgen-0.2.101, then my project compiled and run successfully.
web-sys = "=0.3.78"
Same here
Also having this issue
following @mhfan 's solution worked