opensourcecheemsburgers / RustyTube

A rusty Youtube client.
GNU Affero General Public License v3.0
578 stars 31 forks source link

Install tauri-cli failed #26

Closed CaoKha closed 8 months ago

CaoKha commented 8 months ago

Typing the command in the project root

cargo install tauri-cli

won't install tauri-cli with rust nightly

Error:

error[E0599]: no method named `to_str` found for struct `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:

opensourcecheemsburgers commented 8 months ago

This is an upstream issue with Tauri and should be fixed soon :)