-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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] tauri build hangs if icons point to invalid file #3146
Comments
On my windows machine, I can't reproduce this, specifying an invalid path will make the build process fail and not hang. Please provide a minimal repro. |
I'm getting the hang consistently in https://github.com/MasterOdin/toychest.dev/tree/tauri-test. Changing to be |
I tried your branch and it built just fine.
It should throw an error instead but anyways it didn't just hang indefinitely. |
For posterity, my output on running above:
and it hangs there indefinitely. Fixing the path for the icon, and it finishes as expected. |
Can confirm it happens on https://github.com/probablykasper/tauri-template ( |
Describe the bug
In the
src-tauri/tauri.conf.json
file, I misconfigured thetauri -> bundle -> icon
array such that it pointed at invalid file paths. When runningtauri build
, it would then hang on the first "building" step, providing no further feedback until I killed the process. Passing--verbose
and--debug
provided no further information.Reproduction
tauri -> bundle -> icon
so that it has an invalid pathtauri build
hangExpected behavior
tauri build
would not hang, probably returning an error that the icon could not be found or something.Platform and versions
The text was updated successfully, but these errors were encountered: