Skip to content

Staged install fails: tauri-plugin-dialog version mismatch (2.7.0 vs 2.6.0) #796

Description

@logan-primary-vc

Bug

The Staged install script (install.sh) and just app staged build fail with:

Error Found version mismatched Tauri packages. Make sure the NPM package and Rust crate versions are on the same major/minor releases:
tauri-plugin-dialog (v2.7.0) : @tauri-apps/plugin-dialog (v2.6.0)

Cause

In apps/staged/src-tauri/Cargo.toml, the Rust crate is specified as tauri-plugin-dialog = "2", which resolves to 2.7.0. But apps/staged/package.json pins the NPM package at "@tauri-apps/plugin-dialog": "^2.6.0", which resolves to 2.6.x. Tauri's build checks that the Rust and JS sides of each plugin share the same minor version, and rejects the mismatch.

Fix

Bump the NPM dependency to ^2.7.0 in apps/staged/package.json.

Environment

  • MacBook Pro 16-inch (Nov 2024)
  • Apple M4 Pro, 48 GB
  • macOS Tahoe 26.3.1 (a)
  • Built from main branch as of 2026-06-17

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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