DioxusLabs / DioxusLabs/dioxus
Failed to load module script: Expected a JavaScript-or-Wasm module script but the server responded with a MIME type of "text/html". Strict MIME type checking is enforced for module scripts per HTML spec.
- Dominant language
- Rust
- Stars
- 39.1k
- Forks
- 1.9k
- Avg merge
- 4d 10h
- Merged PRs (30d)
- 4
Description
**Problem**
Failed to load module script: Expected a JavaScript-or-Wasm module script but the server responded with a MIME type of "text/html". Strict MIME type checking is enforced for module scripts per HTML spec.
**Steps To Reproduce**
Steps to reproduce the behavior:
dx serve
warning: Waiting for cargo-metadata...
21:48:05 [dev] -----------------------------------------------------------------
Serving your app: a031! ๐
โข Press `ctrl+c` to exit the server
โข Press `r` to rebuild the app
โข Press `p` to toggle automatic rebuilds
โข Press `v` to toggle verbose logging
โข Press `/` for more commands and shortcuts
Learn more at https://dioxuslabs.com/learn/0.7/getting_started
----------------------------------------------------------------
21:48:47 [dev] Build completed successfully in 22450ms, launching app! ๐ซ
โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ /:more โฎ
โ App: โโโโโโโโโโโโโโโโโโโโโโโโโโ ๐ 36.5s Platform: Web + fullstack โ
โ Server: โโโโโโโโโโโโโโโโโโโโโโโโโโ ๐ 36.5s App features: ["web"] โ
โ Status: Serving a031 ๐ 48.2s Serving at: http://127.0.0.1:8080 โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
**Expected behavior**
**Screenshots**
**Environment:**
- Dioxus version: 0.7.1
- Rust version: nightly
- OS info: windows11
- App platform: web
**Questionnaire**
How to solve it, I am unable to open the page correctly now!
But everything is normal in Google incognito mode
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.