-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Description
Describe the bug
I have a Tauri project that stopped working after 2.0.0-alpha.8
I'm trying to revive it, but to my great disappointment, cargo tauri migrate doesn't seem to do anything. It doesn't output anything at all by default. It doesn't modify any files. It doesn't report any problems. It doesn't report any incompatibilities.
It doesn't update tauri.conf.json to whatever new structure it's supposed to have, which leaves Tauri completely unusable.
cargo tauri migrate --verbose prints Debug [tauri_cli::helpers::app_paths] Found Tauri project inside ... and debug about gitignore (the conf file isn't ignored).
Reproduction
Clone https://gitlab.com/kornelski/gifski-win/-/tree/tauri-migrate-flop
and run cargo tauri migrate
cargo tauri migrate
cargo tauri dev
Error `tauri.conf.json` error: "identifier" is a required property
Error `tauri.conf.json` error on `build`: Additional properties are not allowed ('devPath', 'distDir', 'withGlobalTauri' were unexpected)
Error `tauri.conf.json` error: Additional properties are not allowed ('package', 'tauri' were unexpected)
Expected behavior
I hope it would understand the config from all previous versions, and fix it to work with the latest version.
OR at least print an error message that this config format is dead and abandoned. Printing nothing at all while failing to migrate, looks like a bug.
Full tauri info output
cargo tauri info
Error `tauri.conf.json` error: "identifier" is a required property
Error `tauri.conf.json` error on `build`: Additional properties are not allowed ('devPath', 'distDir', 'withGlobalTauri' were unexpected)
Error `tauri.conf.json` error: Additional properties are not allowed ('package', 'tauri' were unexpected)
Stack trace
Additional context
No response