DioxusLabs / DioxusLabs/dioxus

Release web builds fail

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

Description

**Problem**

Release web builds with the latest git version of the dx cli fail without `--hotpatch false`

**Steps To Reproduce**

Steps to reproduce the behavior:

- clone dioxus
- install the cli from that git version
- `dx serve -r --example repo_readme --web`
- Get
```sh
warning: Waiting for cargo-metadata...
11:10:48 [dev] 🚫dx and dioxus versions are incompatible!
• dx version: 0.7.9
• dioxus versions: [0.8.0-alpha.0]
11:10:50 [dev] -----------------------------------------------------------------
Serving your app: repo_readme! 🚀
• Press `ctrl+c` to exit the server
• Press `r` to rebuild the app
• Press `p` to change hotreload mode
• Press `v` to toggle verbose logging
• Press `/` for more commands and shortcuts
Learn more at https://dioxuslabs.com/learn/0.7/getting_started
----------------------------------------------------------------
11:10:50 [dev] Note: Rust hot-patching is now enabled by default! Unexpected behavior might occur. Press `p` to change modes.
11:12:14 [dev] Build failed: Failed to read file: No such file or directory (os error 2)
1: No such file or directory (os error 2)
```

**Expected behavior**

Not crashing

**Environment:**

- Dioxus version: main
- Rust version: nightly
- OS info: macos
- App platform: web

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.