You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error[E0599]: no method named `to_str` found forstruct `log::kv::Value`in the current scope
--> /home/username/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-cli-1.5.10/src/lib.rs:132:29
|
132 |let action = action.to_str().unwrap();
| ^^^^^^
|
help: there is a method `to_string` with a similar name
|
132 |let action = action.to_string().unwrap();
|~~~~~~~~~
For more information about this error, try `rustc --explain E0599`.
error: could not compile `tauri-cli` (lib) due to 1 previous error
error: failed to compile `tauri-cli v1.5.10`, intermediate artifacts can be found at `/tmp/cargo-installqOt30w`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.
Temporary solution:
Change nightly-2024-03-04 to stable in rust-toolchain file
Install tauri-cli
cargo install tauri-cli --locked
There is an issue with the tauri-cli recently due to tauri-apps/tauri#9034. --locked is used as a temporary solution.
Change stable back to nightly-2024-03-04 in rust-toolchain file
The text was updated successfully, but these errors were encountered:
Typing the command in the project root
won't install
tauri-cli
with rust nightlyError:
Temporary solution:
nightly-2024-03-04
tostable
inrust-toolchain
fileThere is an issue with the tauri-cli recently due to tauri-apps/tauri#9034.
--locked
is used as a temporary solution.stable
back tonightly-2024-03-04
inrust-toolchain
fileThe text was updated successfully, but these errors were encountered: