We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
windows7-compat
I followed the instructions on https://tauri.app/v1/guides/building/windows#supporting-windows-7.
Add "windows7-compat" to tauri dependences in Cargo.toml and configured webviewInstallMode in tauri.config.json.
webviewInstallMode
{ "tauri": { "bundle": { "windows": { "webviewInstallMode": { "type": "embedBootstrapper" } } } } }
Then the build failed with the following errors on linux, windows and macos.
No errors.
$ tauri info [✔] Environment - OS: Ubuntu 22.04 X64 ✔ webkit2gtk-4.0: 2.42.1 ✔ rsvg2: 2.52.5 ✔ rustc: 1.73.0 (cc66ad468 2023-10-03) ✔ Cargo: 1.73.0 (9c4383fb5 2023-08-26) ✔ rustup: 1.26.0 (5af9b9484 2023-04-05) ✔ Rust toolchain: stable-x86_64-unknown-linux-gnu (default) - node: 18.18.2 - yarn: 1.22.19 - npm: 9.8.1 [-] Packages - tauri [RUST]: 1.5.1 - tauri-build [RUST]: 1.5.0 - wry [RUST]: 0.24.4 - tao [RUST]: 0.16.4 - tauri-cli [RUST]: not installed! - @tauri-apps/api [NPM]: 1.5.0 - @tauri-apps/cli [NPM]: 1.5.2 [-] App - build-type: bundle - CSP: unset - distDir: ../dist - devPath: ../dist
### Stack trace ```text $ tauri build -t x86_64-unknown-linux-gnu Debug [globset] built glob set; 0 literals, 2 basenames, 0 extensions, 0 prefixes, 0 suffixes, 0 required extensions, 0 regexes Debug [globset] glob converted to regex: Glob { glob: "**/npm-debug.log*", re: "(?-u)^(?:/?|.*/)npm\\-debug\\.log[^/]*$", opts: GlobOptions { case_insensitive: false, literal_separator: true, backslash_escape: true }, tokens: Tokens([RecursivePrefix, Literal('n'), Literal('p'), Literal('m'), Literal('-'), Literal('d'), Literal('e'), Literal('b'), Literal('u'), Literal('g'), Literal('.'), Literal('l'), Literal('o'), Literal('g'), ZeroOrMore]) } Debug [globset] glob converted to regex: Glob { glob: "**/yarn-debug.log*", re: "(?-u)^(?:/?|.*/)yarn\\-debug\\.log[^/]*$", opts: GlobOptions { case_insensitive: false, literal_separator: true, backslash_escape: true }, tokens: Tokens([RecursivePrefix, Literal('y'), Literal('a'), Literal('r'), Literal('n'), Literal('-'), Literal('d'), Literal('e'), Literal('b'), Literal('u'), Literal('g'), Literal('.'), Literal('l'), Literal('o'), Literal('g'), ZeroOrMore]) } Debug [globset] glob converted to regex: Glob { glob: "**/yarn-error.log*", re: "(?-u)^(?:/?|.*/)yarn\\-error\\.log[^/]*$", opts: GlobOptions { case_insensitive: false, literal_separator: true, backslash_escape: true }, tokens: Tokens([RecursivePrefix, Literal('y'), Literal('a'), Literal('r'), Literal('n'), Literal('-'), Literal('e'), Literal('r'), Literal('r'), Literal('o'), Literal('r'), Literal('.'), Literal('l'), Literal('o'), Literal('g'), ZeroOrMore]) } Debug [globset] glob converted to regex: Glob { glob: "**/lerna-debug.log*", re: "(?-u)^(?:/?|.*/)lerna\\-debug\\.log[^/]*$", opts: GlobOptions { case_insensitive: false, literal_separator: true, backslash_escape: true }, tokens: Tokens([RecursivePrefix, Literal('l'), Literal('e'), Literal('r'), Literal('n'), Literal('a'), Literal('-'), Literal('d'), Literal('e'), Literal('b'), Literal('u'), Literal('g'), Literal('.'), Literal('l'), Literal('o'), Literal('g'), ZeroOrMore]) } Debug [globset] glob converted to regex: Glob { glob: "**/.pnpm-debug.log*", re: "(?-u)^(?:/?|.*/)\\.pnpm\\-debug\\.log[^/]*$", opts: GlobOptions { case_insensitive: false, literal_separator: true, backslash_escape: true }, tokens: Tokens([RecursivePrefix, Literal('.'), Literal('p'), Literal('n'), Literal('p'), Literal('m'), Literal('-'), Literal('d'), Literal('e'), Literal('b'), Literal('u'), Literal('g'), Literal('.'), Literal('l'), Literal('o'), Literal('g'), ZeroOrMore]) } Debug [globset] glob converted to regex: Glob { glob: "**/.pnp.*", re: "(?-u)^(?:/?|.*/)\\.pnp\\.[^/]*$", opts: GlobOptions { case_insensitive: false, literal_separator: true, backslash_escape: true }, tokens: Tokens([RecursivePrefix, Literal('.'), Literal('p'), Literal('n'), Literal('p'), Literal('.'), ZeroOrMore]) } Debug [globset] built glob set; 6 literals, 37 basenames, 6 extensions, 0 prefixes, 0 suffixes, 3 required extensions, 6 regexes Debug [globset] built glob set; 1 literals, 1 basenames, 0 extensions, 0 prefixes, 0 suffixes, 0 required extensions, 0 regexes Debug [ignore::walk] ignoring /home/runner/work/hoppscotch-app/hoppscotch-app/src-tauri/.gitignore: Ignore(IgnoreMatch(Hidden)) Running [tauri_cli] Command `cargo build --features custom-protocol --release --target x86_64-unknown-linux-gnu` Updating crates.io index error: failed to select a version for `once_cell`. ... required by package `win7-notifications v0.4.0` ... which satisfies dependency `win7-notifications = "^0.4"` of package `tauri v1.5.1` ... which satisfies dependency `tauri = "^1.5.1"` (locked to 1.5.1) of package `app v0.1.0 (/home/runner/work/hoppscotch-app/hoppscotch-app/src-tauri)` versions that meet the requirements `^1.18` are: 1.18.0 all possible versions conflict with previously selected packages. previously selected package `once_cell v1.16.0` ... which satisfies dependency `once_cell = "^1.0"` (locked to 1.16.0) of package `gio v0.15.12` ... which satisfies dependency `gio = "^0.15.1"` (locked to 0.15.12) of package `gdk v0.15.4` ... which satisfies dependency `gdk = "^0.15.1"` (locked to 0.15.4) of package `gtk v0.15.5` ... which satisfies dependency `gtk = "^0.15"` (locked to 0.15.5) of package `tauri v1.5.1` ... which satisfies dependency `tauri = "^1.5.1"` (locked to 1.5.1) of package `app v0.1.0 (/home/runner/work/hoppscotch-app/hoppscotch-app/src-tauri)` failed to select a version for `once_cell` which could resolve this conflict Error [tauri_cli_node] failed to build app: failed to build app error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. Error: Process completed with exit code 1.
### Additional context _No response_
The text was updated successfully, but these errors were encountered:
I tried to specify once_cell dependence in Cargo.toml and it works for me.
See also liudonghua123/hoppscotch-app@359f1ec.
Sorry, something went wrong.
fix(deps): Use less specific once_cell version
1d7b448
ref tauri-apps/tauri#8053
fix(deps): Use less specific once_cell version (#55)
13e2cbc
* fix(deps): Use less specific once_cell version ref tauri-apps/tauri#8053 * Create once-cell-version.md
No branches or pull requests
Describe the bug
I followed the instructions on https://tauri.app/v1/guides/building/windows#supporting-windows-7.
Add "windows7-compat" to tauri dependences in Cargo.toml and configured
webviewInstallMode
in tauri.config.json.Then the build failed with the following errors on linux, windows and macos.
Reproduction
webviewInstallMode
in tauri.config.jsonExpected behavior
No errors.
Platform and versions
The text was updated successfully, but these errors were encountered: