jetli / rust-yew-realworld-example-app

Exemplary real world app built with Rust + Yew + WebAssembly, by Function Components + Hooks, also supports desktop by Tauri.
https://jetli.github.io/rust-yew-realworld-example-app/
Apache License 2.0
855 stars 110 forks source link

tauri dev error #34

Closed skydig closed 2 years ago

skydig commented 2 years ago

run cargo tauri dev

found following error.

Compiling conduit-tauri v0.1.0 (F:\rs\rust-yew-realworld-example-app\crates\conduit-tauri) error: failed to run custom build command for conduit-tauri v0.1.0 (F:\rs\rust-yew-realworld-example-app\crates\conduit-tauri)

Caused by: process didn't exit successfully: F:\rs\rust-yew-realworld-example-app\target\debug\build\conduit-tauri-e819a3ad61e3ad6e\build-script-build (exit code: 101) --- stdout cargo:rerun-if-env-changed=TAURI_CONFIG cargo:rerun-if-changed=tauri.conf.json

--- stderr thread 'main' panicked at 'error found during tauri-build: Error("unknown field useBootstrapper, expected depends or files", line: 1, column: 746)', C:\Users\Administrator.cargo\registry\src\mirrors.ustc.edu.cn-12df342d903acd47\tauri-build-1.0.0-rc.8\src\lib.rs:146:5

skydig commented 2 years ago

after tauri-cli upgraded, issue disappear. so close it