Skip to content
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

dx serve: Failed to find current package dioxus 0.6.1 #3473

Open
sirus20x6 opened this issue Dec 30, 2024 · 1 comment
Open

dx serve: Failed to find current package dioxus 0.6.1 #3473

sirus20x6 opened this issue Dec 30, 2024 · 1 comment

Comments

@sirus20x6
Copy link

Problem

 /run/media/sirus/aux/code/git  dx new hot_dog                                                                                  ✔  markitdown    12:14:10
✔ 🤷   Which sub-template should be expanded? · Workspace
✔ 🤷   Do you want to use Dioxus Fullstack? · true
✔ 🤷   Do you want to use Dioxus Router? · true
   7.109s  INFO Generated project at /run/media/sirus/aux/code/git/hot_dog

`cd` to your project and run `dx serve` to start developing.
If using Tailwind, make sure to run the Tailwind CLI.
More information is available in the generated `README.md`.

Build cool things! ✌️
 /run/media/sirus/aux/code/git  cd hot_dog                                                                                 ✔  7s  markitdown    12:14:18
 /run/media/sirus/aux/code/git/hot_dog  dx serve                                                                                ✔  markitdown    12:14:22
zsh: correct 'serve' to 'server' [nyae]? n
   2.665s ERROR Loading crate
   2.665s ERROR err=Other(Failed to find current package)
 /run/media/sirus/aux/code/git/hot_dog  dx --version                                                                          1 ✘  markitdown    12:14:37
dioxus 0.6.1 (was built without git repository)

Screenshots

image

Environment:

  • Dioxus version: 0.6.1
  • Rust version: cargo 1.83.0 (5ffbef321 2024-10-29) rustc 1.83.0 (90b35a623 2024-11-26)
  • OS info: manjaro/arch
  • App platform: whatever the default is from your tutorial
@ousado
Copy link

ousado commented Jan 2, 2025

When you're using the Workspace template with fullstack, you have to specify which package you want to use:
e.g. dx serve --package web

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

No branches or pull requests

2 participants