DioxusLabs / DioxusLabs/dioxus

Error with cargo metadata following the tutorial

Open
#5,600 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Rust
Stars
39.1k
Forks
1.9k
Avg merge
4d 10h
Merged PRs (30d)
4

Description

**Problem**

Following the tutorial, when running "dx serve" for the first time, the following error message loops over:

```
warning: Waiting for cargo-metadata...
warning: maybe check your network connection or build lock?

```

**Steps To Reproduce**

Steps to reproduce the behavior:

- follow the steps from the tutorial (https://dioxuslabs.com/learn/0.7/tutorial/new_app) until the first "dx serve"
- type "dx serve"

**Expected behavior**

"cargo build" runs

**Environment:**

- Dioxus version: 0.7.9, from cargo bininstall
- Rust version: stable, 1.96
- OS info: windows 11
- App platform: web

**Questionnaire**

Running "cargo metadata" first in the app directory solved the issue

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.