dioxus icon indicating copy to clipboard operation
dioxus copied to clipboard

Issues with wasm-bindgen for "dx serve --web" in v0.7.0-rc.3

Open OscarAspelin95 opened this issue 2 months ago • 3 comments

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.3 LTS
  • App platform: web

OscarAspelin95 avatar Oct 22 '25 06:10 OscarAspelin95

[dev] wasm-bindgen error: error: failed to find the __wbindgen_externref_table_dealloc function

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"

mhfan avatar Nov 03 '25 08:11 mhfan

Same here

jullanggit avatar Nov 10 '25 10:11 jullanggit

Also having this issue

following @mhfan 's solution worked

Codys-Wright avatar Nov 20 '25 08:11 Codys-Wright