Skip to content
This repository has been archived by the owner on Jun 29, 2023. It is now read-only.

dioxus-cli installation failed #59

Closed
allenli178 opened this issue Aug 17, 2022 · 6 comments
Closed

dioxus-cli installation failed #59

allenli178 opened this issue Aug 17, 2022 · 6 comments

Comments

@allenli178
Copy link

When I use cargo install dioxus-cli to install dioxus-cli, I met this bug.
The version of dioxus-cli is 0.1.4.
image
I think someone commented out the code notify::Config::default().

@trevyn
Copy link
Contributor

trevyn commented Aug 17, 2022

Try cargo install --git https://github.com/DioxusLabs/cli

Maybe a new release is in order?

@dxps
Copy link
Contributor

dxps commented Aug 17, 2022

To me, it looks the same as my yesterday case, presented here.

@mrxiaozhuox
Copy link
Member

you can just install from git repo now.

@dxps
Copy link
Contributor

dxps commented Aug 17, 2022

I can confirm the installation from git works, as previously advised.
Just did it in my other system.

@dxps
Copy link
Contributor

dxps commented Aug 17, 2022

Now trying it, I noticed a small issue with it. Shall I raise a different issue related to it ❔

$ dioxus create router_test
[INFO] 🔧 Start to create a new project 'router_test'.
[WARN] Tool is not installed: cargo-generate, try to install it.
    Updating crates.io index
  Downloaded cargo-generate v0.16.0
   ...
   Compiling cargo-generate v0.16.0
    Finished release [optimized] target(s) in 2m 35s
  Installing /home/dxps/.cargo/bin/cargo-generate
   Installed package `cargo-generate v0.16.0` (executable `cargo-generate`)
[1/9]   Done: .gitignore
[2/9]   Done: Cargo.toml
[3/9]   Done: Dioxus.toml
[4/9]   Done: LICENSE
[5/9]   Done: README.md
[6/9]   Done: public/.gitkeep
[7/9]   Done: public
[8/9]   Done: src/main.rs
[9/9]   Done: src
$ 

and a router-test (instead of router_test) is created.

@mrxiaozhuox
Copy link
Member

@dxps yeah, maybe you need create a new issue. 😄

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants