Skip to content
New issue

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

[bug] Using "message": true dialog causes App to not open (in dev or release build) #10276

Open
devilsnare007 opened this issue Jul 13, 2024 · 1 comment
Labels

Comments

@devilsnare007
Copy link

Describe the bug

Im trying to use the "message" dialog in my tauri app, yet everytime I set "message": true in tauri.conf.json, the app fails to even open, even though there are no errors. I tried building both dev/build with verbose and no errors show up. As soon as I set "message": false and build again, it starts working fine (of course the message dialog does not appear). This is on Windows 10

tauri.conf.json setting:

"dialog": {
        "all": false,
        "open": true,
        "message": true
      },

Logs from the build...

0 verbose cli C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js
1 info using npm@10.7.0
2 info using node@v20.15.0
3 silly config:load:file:C:\Program Files\nodejs\node_modules\npm\npmrc
4 silly config:load:file:xxxxxx\.npmrc
5 silly config:load:file:C:\Users\xxxx\.npmrc
6 silly config:load:file:C:\Users\xxxx\AppData\Roaming\npm\etc\npmrc
7 verbose title npm run dev
8 verbose argv "run" "dev"
9 verbose logfile logs-max:10 dir:C:\Users\xxxxx\AppData\Local\npm-cache\_logs\2024-07-13T20_54_16_468Z-
10 verbose logfile C:\Users\xxxxx\AppData\Local\npm-cache\_logs\2024-07-13T20_54_16_468Z-debug-0.log
11 silly logfile start cleaning logs, removing 1 files
12 silly logfile done cleaning log files
13 verbose exit 4294967295
14 verbose code 4294967295

Reproduction

No response

Expected behavior

The message dialog should work fine

Full tauri info output

✔] Environment
    - OS: Windows 10.0.19045 X64
    ✔ WebView2: 126.0.2592.102
    ✔ MSVC:
        - Visual Studio Build Tools 2019
        - Visual Studio Build Tools 2022
    ✔ rustc: 1.79.0 (129f3b996 2024-06-10)
    ✔ cargo: 1.79.0 (ffa9cf99a 2024-06-03)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
    - node: 20.15.0
    - npm: 10.7.0

[-] Packages
    - tauri [RUST]: 1.7.1
    - tauri-build [RUST]: 1.5.3
    - wry [RUST]: 0.24.10
    - tao [RUST]: 0.16.9
    - @tauri-apps/api [NPM]: 1.6.0
    - @tauri-apps/cli [NPM]: 1.6.0

[-] App
    - build-type: build
    - CSP: unset
    - distDir: ../dist
    - devPath: http://localhost:1420/
    - framework: Vue.js
    - bundler: Vite

Stack trace

No response

Additional context

No response

@tweidinger
Copy link
Contributor

Can you please provide us with a reproduction repository?

@FabianLars tried to reproduce a while ago and was not successful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants