leptos-rs / leptos

Build fast web applications with Rust.
https://leptos.dev
MIT License
15.31k stars 599 forks source link

Notify crate (lib) not compiling when installing cargo-leptos #2596

Closed lzned closed 1 month ago

lzned commented 1 month ago

Describe the bug An error that occurs when trying to install cargo-leptos. When notify v4.0.17 is trying to compile, several errors occur: e.g. unresolved imports, mismatched types, etc.

Leptos Dependencies N/A

To Reproduce Steps to reproduce the behavior:

  1. Go to your console/terminal
  2. Type 'cargo install cargo-leptos'
  3. Wait
  4. Eventually, a compilation error will occur.

Expected behavior For cargo-leptos to be promptly installed.

Additional context

Operating System: Windows 11 IDE/Text Editor: Visual Studio Code.

gbj commented 1 month ago

See https://github.com/leptos-rs/cargo-leptos/issues/280 and https://github.com/leptos-rs/cargo-leptos/pull/274. For further cargo-leptos issue, you can use that repo rather than this one.

cargo install --locked cargo-leptos may resolve it.