#5600·dioxus

Error with cargo metadata following the tutorial

Author: junelacCreated May 29, 2026Updated Sep 18, 2026
Labelsbug

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:

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