Skip to content

Build fails because of different tauri and @tauri-apps/api versions #24

@MDM23

Description

@MDM23

The build of venator currently fails, using a recent enough cargo-tauri version:

        Info Looking up installed tauri packages to check mismatched versions...
       Error Found version mismatched Tauri packages. Make sure the NPM package and Rust crate versions are on the same major/minor releases:
tauri (v2.2.3) : @tauri-apps/api (v2.0.1)
tauri-plugin-clipboard-manager (v2.2.0) : @tauri-apps/plugin-clipboard-manager (v2.0.0)
tauri-plugin-fs (v2.2.0) : @tauri-apps/plugin-fs (v2.0.0)
tauri-plugin-dialog (v2.2.0) : @tauri-apps/plugin-dialog (v2.0.0)

The rust package is currently locked to tauri v2.2.3 while the Javascript library (@tauri-apps/api) is on v2.0.1.

This (probably new) requirement is described here:
https://v2.tauri.app/develop/updating-dependencies/#sync-npm-packages-and-cargo-crates-versions

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions