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

Fullstack examples fail because of missing "version" in "package" section of main Cargo.toml #2833

Closed
1 of 3 tasks
jacklund opened this issue Aug 13, 2024 · 0 comments
Closed
1 of 3 tasks
Milestone

Comments

@jacklund
Copy link
Contributor

jacklund commented Aug 13, 2024

Problem

Running dx serve --platform fullstack in, for instance, packages/fullstack/examples/hello-world gives the following:

% dx serve --platform fullstack
2024-08-13T21:52:10.618439Z  INFO dx: You appear to be creating a Dioxus project from scratch; we will use the default config
- ⚙ Compiling registry+https://github.com/rust-lang/crates.io-index#futures-util@0.3.30
  👑 Build done.
thread '<unnamed>' panicked at /home/jack/.cargo/registry/src/index.crates.io-6f17d22bba15001f/manganis-cli-support-0.2.4/src/manifest.rs:53:70:
called `Result::unwrap()` on an `Err` value: Workspace(Parse(Error { inner: Error { inner: TomlError { message: "missing field `version`", raw: [raw omitted for brevity], keys: ["package"], span: Some(6520..6908) } } }))

Steps To Reproduce

Steps to reproduce the behavior:

  • cd packages/fullstack/examples/hello-world
  • `dx serve --platform fullstack

Expected behavior

No errors, at least

Screenshots

Environment:

  • Dioxus version: 0.6.0-alpha.2
  • Rust version: 1.80.0
  • OS info: Ubuntu 24.04
  • App platform: fullstack

Questionnaire

  • I'm interested in fixing this myself but don't know where to start
  • I would like to fix and I have a solution
  • I don't have time to fix this right now, but maybe later
@jacklund jacklund changed the title Fullstack examples fail because of missing Fullstack examples fail because of missing "version" in "package" section of main Cargo.toml Aug 13, 2024
jacklund added a commit to jacklund/dioxus that referenced this issue Aug 13, 2024
@jkelleyrtp jkelleyrtp added this to the 0.6.0 milestone Aug 20, 2024
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