Describe the bug
In the src-tauri/tauri.conf.json file, I misconfigured the tauri -> bundle -> icon array such that it pointed at invalid file paths. When running tauri 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
- Create an app
- Edit
tauri -> bundle -> icon so that it has an invalid path
- See
tauri build hang
Expected behavior
tauri build would not hang, probably returning an error that the icon could not be found or something.
Platform and versions
Operating System - Mac OS, version 12.1.0 X64
Node.js environment
Node.js - 16.13.1
@tauri-apps/cli - 1.0.0-beta.10
@tauri-apps/api - 1.0.0-beta.8
Global packages
npm - 8.1.2
yarn - 1.22.17
Rust environment
rustc - 1.57.0
cargo - 1.57.0
App directory structure
/.husky
/node_modules
/public
/.github
/src-tauri
/build
/.git
/builder
/src
App
tauri.rs - 1.0.0-beta.8
build-type - bundle
CSP - default-src blob: data: filesystem: ws: wss: http: https: tauri: 'unsafe-eval' 'unsafe-inline' 'self' img-src: 'self'
distDir - ../build
devPath - http://127.0.0.1:3000
framework - React
Describe the bug
In the
src-tauri/tauri.conf.jsonfile, I misconfigured thetauri -> bundle -> iconarray 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--verboseand--debugprovided no further information.Reproduction
tauri -> bundle -> iconso that it has an invalid pathtauri buildhangExpected behavior
tauri buildwould not hang, probably returning an error that the icon could not be found or something.Platform and versions