DefGuard / DefGuard/client

Build fails when node_modules exists in root directory

Open
#1,099 0 comments 0 reactions 1 assignee Claimed by @moubctez View on GitHub
optional for release
Dominant language
Rust
Stars
369
Forks
39
Avg merge
21h 2m
Merged PRs (30d)
32

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.