#dx serve with version 0.7.0.0-rc.0 throwing build errors

1 messages · Page 1 of 1 (latest)

zealous epoch
#

11:20:09 [cargo] error: failed to select a version for the requirement dioxus-liveview = "^0.7.0-rc.0"
11:20:09 [cargo] candidate versions found which didn't match: 0.7.0-alpha.3, 0.7.0-alpha.2, 0.7.0-alpha.1, ...
11:20:09 [cargo] location searched: crates.io index
11:20:09 [cargo] required by package dioxus v0.7.0-rc.0
11:20:09 [cargo] ... which satisfies dependency dioxus = "^0.7.0-rc.0" (locked to 0.7.0-rc.0) of package my_guinea v0.1.0 (/Users/boubacarbarry/personal/my_guinea)
11:20:09 [cargo] if you are looking for the prerelease package it needs to be specified explicitly
11:20:09 [cargo] dioxus-liveview = { version = "0.7.0-alpha.3" }
11:20:09 [dev] Build failed: Cargo build failed - no output location. Toggle tracing mode (press t) for more information.
╭──────────────────────────────────────────────────────────────────────────────── /:more ╮
│ App: ━━━━━━━━━━━━━━━━━━━━━━━━━━ 🎉 14.5s Platform: MacOS + fullstack │
│ Server: ━━━━━━━━━━━━━━━━━━━━━━━━━━ ◒ 14.5s App features: ["desktop", "mobile" │
│ Status: Serving my_guinea 🚀 14.5s Server at: http://127.0.0.1:8080
╰────────────────────────────────────────────────────────────────────────────────────────╯
boubacarbarry@Mac my_guinea % dx --version
dioxus 0.7.0-rc.0 (was built without git repository)
boubacarbarry@Mac my_guinea %

can anyone advise here

oblique nebula
#

Try cleaning and running cargo update

#

We had a similar issue with the last release

zealous epoch
#

sure thanks I tried that but with my current cargo I can't get the app start 12:11:50 [cargo] error[E0308]: mismatched types
--> /Users/boubacarbarry/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.0.4/src/net/udp.rs:762:9
|
762 | / unsafe {
763 | | #[cfg(any(unix, target_os = "hermit", target_os = "wasi"))]
764 | | {
765 | | net::UdpSocket::from_raw_fd(socket.into_raw_fd())
... |
771 | | }
| |_________^ expected UdpSocket, found ()

12:11:50 [cargo] Some errors have detailed explanations: E0308, E0412, E0425, E0432, E0433, E0599.
12:11:50 [cargo] For more information about an error, try rustc --explain E0308.
12:11:53 [dev] Build failed: cargo build finished with errors. Backend connection failed. The backend is likely still starting up. Please try again in a few seconds. Error: Error {
context: "Failed to send proxy request",
source: hyper_util::client::legacy::Error(
Connect,
ConnectError(
"tcp connect error",
127.0.0.1:57290,
Os {
code: 61,
kind: ConnectionRefused,
message: "Connection refused",
},
),
),
}

#

find my cargo attached "[package]
name = "my_guinea"
version = "0.1.0"
authors = ["Boubacar Barry <boubacar>"]
edition = "2024"

See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
dioxus = { version = "0.7.0-rc.0", features = ["router", "fullstack"] }

[features]
default = ["web"]

The feature that are only required for the web = ["dioxus/web"] build target should be optional and only enabled in the web = ["dioxus/web"] feature

web = ["dioxus/web"]

The feature that are only required for the desktop = ["dioxus/desktop"] build target should be optional and only enabled in the desktop = ["dioxus/desktop"] feature

desktop = ["dioxus/desktop"]

The feature that are only required for the mobile = ["dioxus/mobile"] build target should be optional and only enabled in the mobile = ["dioxus/mobile"] feature

mobile = ["dioxus/mobile"]
#server = ["dioxus/fullstack"]
"

tawny lance
#

Maybe it's because you have the server feature commented out

zealous epoch
#

when I enable that the app start fine but does not work at all still