Skip to content

[bug] "dx and dioxus versions are incompatible!" when creating a new project #941

Description

@Tobais

Describe the bug

Upon creating a new project on Windows with Dioxus (for desktop) I get:

dx and dioxus versions are incompatible!
• dx version: 0.7.2
• dioxus versions: [0.6.3]

The app opens, the message under the input field shows up with the inserted name when clicking the button, but the images are missing and the styling is wrong:
Image

This is the bug being reported. But I also tried what follows, for what it's worth:

Changing the dependency version of dioxus in Cargo.toml to 0.7.2, the console shows:

13:03:24 [dev] Build completed successfully in 15551ms, launching app! 💫
13:03:47 [dev] Error parsing message from web: invalid type: map, expected a string at line 1 column 118 -> "{"Log":{"level":"warn","messages":["IPC custom protocol failed, Tauri will now use the postMessage interface instead",{}]}}"

The app still opens and things are displayed correctly, but the functionality fails:

  • The first time, inserting a name and pressing the button shows the text with the name for a fraction of a second and then the message vanishes.
  • Trying again, either doesn't display it or is too fast to see.

I should say that this is my first time trying Tauri, so no frame of reference.

Reproduction

Running:

cargo install create-tauri-app --locked
cargo create-tauri-app
cd tauri-app
cargo tauri dev

Expected behavior

dx and dioxus versions should be compatible.
The app should open with the correct styling.

Full tauri info output

- OS: Windows 10.0.26200 x86_64 (X64)
    ✔ WebView2: 142.0.3595.94
    ✔ MSVC:
        - Visual Studio Build Tools 2022
        - Visual Studio Community 2022
    ✔ rustc: 1.91.1 (ed61e7d7e 2025-11-07)
    ✔ cargo: 1.91.1 (ea2d97820 2025-10-10)
    ✔ rustup: 1.28.2 (e4f3ad6f8 2025-04-28)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (overridden by environment variable RUSTUP_TOOLCHAIN)
    - node: 24.11.1
    - pnpm: 10.25.0
    - yarn: 1.22.22
    - npm: 11.6.2

[-] Packages
    - tauri 🦀: 2.9.5
    - tauri-build 🦀: 2.5.3
    - wry 🦀: 0.53.5
    - tao 🦀: 0.34.5
    - tauri-cli 🦀: 2.9.6

[-] Plugins
    - tauri-plugin-opener 🦀: 2.5.2

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../dist/public
    - devUrl: http://localhost:1420/

Stack trace


Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions