-
-
Notifications
You must be signed in to change notification settings - Fork 889
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build failed (fullstack web app) #3298
Comments
Having the same problem myself. |
Would you be able to run with |
The output is as follows.
|
Looks like an issue with |
I added the dependencies of the package that caused errors to Cargo.toml. Cargo.toml [package]
name = "dx-fs"
version = "0.1.0"
authors = ["hinastory <[email protected]>"]
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
dioxus = { version = "0.6.0-rc.0", features = ["router", "fullstack"] }
dioxus-logger = "0.5"
dioxus-liveview = "^0.6.0-rc.0" # add
dioxus-ssr = "^0.6.0-rc.0" # add
dioxus-isrg = "^0.6.0-rc.0" # add
[features]
default = ["web"]
web = ["dioxus/web"] However, the build failed with another error(mio crate) as follows.
|
I've also encountered a similar problem. 08:15:21 [dev] ----------------------------------------------------------------- Caused by:
╭────────────────────────────────────────────────────────────────────────────────────────── /:more ╮ |
PS F:\gadget\fuweb6> cargo update -p wasm-bindgen --precise 0.2.97 |
Server dependencies like For example, if you need [dependencies]
dioxus = { version = "0.6.0-rc.0", features = ["router", "fullstack"] }
dioxus-logger = "0.5"
dioxus-liveview = { version = "^0.6.0-rc.0", optional = true }
dioxus-ssr = { version = "^0.6.0-rc.0", optional = true }
dioxus-isrg = { version = "^0.6.0-rc.0", optional = true }
[features]
default = []
web = ["dioxus/web"] # this feature will be used to build the client side of fullstack
server = ["dioxus/server", "dep:dioxus-liveview", "dep:dioxus-ssr", "dep:dioxus-isrg"] # this feature will be used to build the server side of fullstack
|
Try reinstalling the CLI with |
I use 'cargo binstall [email protected] --Force "reinstalled CLI, but the problem remains the same |
Binstall will not recompile the CLI. use |
I am getting this error using 0.6.0 after scaffolding a brand new fullstack app (bare-bones). Do I really need to add the optional dependencies and features? I literally just scaffolded so I think it would be nice if the templates just produced a working app out of the box. Update: My issue seems to be caused by running my app inside a workspace with another bin that used axum 0.7.9. |
The system I am using is Win11,after installing "NASM" and "cmake", I can successfully install Dioxus 0.6.0 |
For the original version mismatch issue with |
Problem
The build of the fullstack web application fails with the following message.
09:12:30 [dev] Cargo build failed - no output location
09:12:30 [dev] Build failed: Other(Build did not return an executable)
Steps To Reproduce
Steps to reproduce the behavior:
dx new dx-fs
cd dx-fs
dx serve
Screenshots
Environment:
The text was updated successfully, but these errors were encountered: