Zheoni / cooklang-chef

A CLI to manage cooklang recipes
MIT License
68 stars 8 forks source link

Error when trying to install via cargo #34

Closed mubbelsberger closed 4 months ago

mubbelsberger commented 4 months ago

I'm trying to install cooklang-chef on my small homeserver with alpineOS.

cargo install cooklang-chef

Looking good at first it throws this error:

Compiling vte_generate_state_changes v0.1.2
error[E0599]: no variant or associated item named `Default` found for enum `Color` in the current scope
   --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cooklang-0.13.2/src/error.rs:496:20
    |
496 |             Color::Default
    |                    ^^^^^^^ variant or associated item not found in `Color`
    |
help: there is an associated function `default` with a similar name
    |
496 |             Color::default
    |                    ~~~~~~~

   Compiling bstr v1.9.1
   Compiling clap_lex v0.7.1
   Compiling strsim v0.11.1
   Compiling adler32 v1.2.0
   Compiling crossbeam-utils v0.8.20
   Compiling lazy_static v1.5.0
   Compiling httpdate v1.0.3
   Compiling unicode-linebreak v0.1.5
   Compiling cpufeatures v0.2.12
   Compiling tower-service v0.3.2
   Compiling serde_json v1.0.120
   Compiling smawk v0.3.2
   Compiling dary_heap v0.3.6
   Compiling tower-layer v0.3.2
   Compiling same-file v1.0.6
For more information about this error, try `rustc --explain E0599`.
error: could not compile `cooklang` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
error: failed to compile `cooklang-chef v0.9.1`, intermediate artifacts can be found at `/tmp/cargo-installnr0VDT`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.

This this an error on my side?

Just tell me of you need more information!

Thanks! <3

Zheoni commented 4 months ago

This comes from https://github.com/zesterer/ariadne/issues/116 . Until it's fixed you can install chef with cargo install cooklang-chef --locked

mubbelsberger commented 4 months ago

Thank you very much! <3

I just bought this thing for cooklang-chef mainly. :D

But ofc I'll play around with it too! :sunglasses: