Open alex-tianhuang opened 1 week ago
Same problem here.
Environment:
Same problem here.
Environment:
dx serve --platform fullstack
👑 Build done.
| 💼 Waiting to start building the project... thread 'main' panicked at /home/siki/.cargo/registry/src/index.crates.io-6f17d22bba15001f/manganis-cli-support-0.2.4/src/manifest.rs:51:51:
called `Result::unwrap()` on an `Err` value: Parse("parse error: invalid Cargo.lock format version: `4`\n")
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Problem
When starting a new dioxus project using dioxus-cli compiled on nightly, the build fails as the Cargo.lock version (=4) is newer than expected. Additionally, using dioxus-cli compiled from stable with any project that has this new Cargo.lock version (I'm trying to use it for a project which requires nightly)
Steps To Reproduce
Expected behavior
Dioxus serves the webpage
Screenshots Here are all the steps needed to reproduce the bug:
Here is the final failing build command with some traceback:
Here is a Cargo.lock generated by dx new (nightly compiled dioxus-cli):
Environment: