tauri-apps / tauri-apps/plugins-workspace
[bug] can't start project after run the command 'cargo update'
- Dominant language
- Rust
- Stars
- 1.8k
- Forks
- 602
- Avg merge
- 4d 14h
- Merged PRs (30d)
- 9
Description
### Describe the bug
when i run tauri info, i saw some package are outdated, so i run cargo update, the Cargo.lock file had changed and then run yarn tauri dev, it throw an error like this
this issue does not exist on macOS, only on Windows
So it is not recommended to use the cargo update command to batch upgrade these packages? Or is it caused by other issues?
and @tauri-apps/plugin-single-instance always shows as not installed, but I have already run yarn run tauri add single instance
### Reproduction
_No response_
### Expected behavior
_No response_
### Full `tauri info` output
```text
# before update
$ tauri info
[✔] Environment
- OS: Windows 10.0.22621 aarch64 (X64)
✔ WebView2: 139.0.3405.102
✔ MSVC: Visual Studio 生成工具 2022
✔ rustc: 1.89.0 (29483883e 2025-08-04)
✔ cargo: 1.89.0 (c24e10642 2025-06-23)
✔ rustup: 1.28.2 (e4f3ad6f8 2025-04-28)
✔ Rust toolchain: stable-aarch64-pc-windows-msvc (default)
- node: 22.17.0
- yarn: 1.22.22
- npm: 10.9.2
[-] Packages
- tauri 🦀: 2.7.0, (outdated, latest: 2.8.2)
- tauri-build 🦀: 2.3.1, (outdated, latest: 2.4.0)
- wry 🦀: 0.52.1, (outdated, latest: 0.53.1)
- tao 🦀: 0.34.0, (outdated, latest: 0.34.2)
- @tauri-apps/api : 2.7.0
- @tauri-apps/cli : 2.8.0
[-] Plugins
- tauri-plugin-store 🦀: 2.3.0
- @tauri-apps/plugin-store : 2.3.0
- tauri-plugin-log 🦀: 2.6.0
- @tauri-apps/plugin-log : 2.6.0
- tauri-plugin-updater 🦀: 2.9.0
- @tauri-apps/plugin-updater : 2.9.0
- tauri-plugin-dialog 🦀: 2.3.1, (outdated, latest: 2.3.2)
- @tauri-apps/plugin-dialog : 2.3.0
- tauri-plugin-window-state 🦀: 2.4.0
- @tauri-apps/plugin-window-state : 2.4.0
- tauri-plugin-process 🦀: 2.3.0
- @tauri-apps/plugin-process : 2.3.0
- tauri-plugin-single-instance 🦀: 2.3.2
- @tauri-apps/plugin-single-instance : not installed!
- tauri-plugin-fs 🦀: 2.4.1
- @tauri-apps/plugin-fs : 2.4.0
- tauri-plugin-opener 🦀: 2.4.0
- @tauri-apps/plugin-opener : 2.4.0
- tauri-plugin-autostart 🦀: 2.5.0
- @tauri-apps/plugin-autostart : 2.5.0
- tauri-plugin-global-shortcut 🦀: 2.3.0
- @tauri-apps/plugin-global-shortcut : 2.3.0
- tauri-plugin-clipboard-manager 🦀: 2.3.0
- @tauri-apps/plugin-clipboard-manager : 2.3.0
- tauri-plugin-os 🦀: 2.3.0
- @tauri-apps/plugin-os : 2.3.0
[-] App
- build-type: bundle
- CSP: unset
- devUrl: http://localhost:1420/
- framework: React
- bundler: Vite
Done in 70.74s.
# after update
$ tauri info
[✔] Environment
- OS: Windows 10.0.22621 aarch64 (X64)
✔ WebView2: 139.0.3405.86
✔ MSVC: Visual Studio 生成工具 2022
✔ rustc: 1.89.0 (29483883e 2025-08-04)
✔ cargo: 1.89.0 (c24e10642 2025-06-23)
✔ rustup: 1.28.2 (e4f3ad6f8 2025-04-28)
✔ Rust toolchain: stable-aarch64-pc-windows-msvc (default)
- node: 22.17.0
- yarn: 1.22.22
- npm: 10.9.2
[-] Packages
- tauri 🦀: 2.7.0, (outdated, latest: 2.8.2)
- tauri-build 🦀: 2.4.0
- wry 🦀: 0.53.1
- tao 🦀: 0.34.2
- @tauri-apps/api : 2.7.0
- @tauri-apps/cli : 2.8.0
[-] Plugins
- tauri-plugin-fs 🦀: 2.4.1
- @tauri-apps/plugin-fs : 2.4.0
- tauri-plugin-single-instance 🦀: 2.2.0, (outdated, latest: 2.3.2)
- @tauri-apps/plugin-single-instance : not installed!
- tauri-plugin-log 🦀: 2.6.0
- @tauri-apps/plugin-log : 2.6.0
- tauri-plugin-process 🦀: 2.3.0
- @tauri-apps/plugin-process : 2.3.0
- tauri-plugin-window-state 🦀: 2.4.0
- @tauri-apps/plugin-window-state : 2.4.0
- tauri-plugin-os 🦀: 2.3.0
- @tauri-apps/plugin-os : 2.3.0
- tauri-plugin-updater 🦀: 2.9.0
- @tauri-apps/plugin-updater : 2.9.0
- tauri-plugin-opener 🦀: 2.2.3, (outdated, latest: 2.4.0)
- @tauri-apps/plugin-opener : 2.4.0
- tauri-plugin-clipboard-manager 🦀: 2.3.0
- @tauri-apps/plugin-clipboard-manager : 2.3.0
- tauri-plugin-store 🦀: 2.3.0
- @tauri-apps/plugin-store : 2.3.0
- tauri-plugin-global-shortcut 🦀: 2.3.0
- @tauri-apps/plugin-global-shortcut : 2.3.0
- tauri-plugin-autostart 🦀: 2.5.0
- @tauri-apps/plugin-autostart : 2.5.0
- tauri-plugin-dialog 🦀: 2.3.2
- @tauri-apps/plugin-dialog : 2.3.0
[-] App
- build-type: bundle
- CSP: unset
- devUrl: http://localhost:1420/
- framework: React
- bundler: Vite
Done in 26.06s.
```
### Stack trace
```text
```
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.