Skip to content

Build fails when node_modules exists in root directory #1099

Description

@moubctez

In some scenarios (when building old client in the pipeline, then a new one), when node_modules directory exists in the root of client repository, the build fails with:

$ tauri build --bundles deb,rpm
        Info Looking up installed tauri packages to check mismatched versions...
Found version mismatched Tauri packages. Make sure the NPM package and Rust crate versions are on the same major/minor releases:
tauri-plugin-log (v2.9.0) : @tauri-apps/plugin-log (v2.8.0)

Possible fix: move new-ui to the root directory.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status
New

Relationships

None yet

Development

No branches or pull requests

Issue actions