You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm trying to run a web serve but don't get any content, thanks in advance.
Problem: blank page when using dx serve
(index):15 A preload for 'http://0.0.0.0:9003/wasm/demo-web.js' is found, but is not used because the request credentials mode does not match. Consider taking a look at crossorigin attribute.
(anonymous) @ (index):15
demo-web.js:1 Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "". Strict MIME type checking is enforced for module scripts per HTML spec.
0.0.0.0/:1 Uncaught (in promise) TypeError: Failed to fetch dynamically imported module: http://0.0.0.0:9003/wasm/demo-web.js
0.0.0.0/:1 The resource http://0.0.0.0:9003/wasm/demo-web_bg.wasm was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
0.0.0.0/:1 The resource http://0.0.0.0:9003/wasm/demo-web.js was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
Steps To Reproduce
Steps to reproduce the behavior:
❯ dx new --name demo-web ./demo-web-app
✔ 🤷 Which sub-template should be expanded? · Bare-Bones
✔ 🤷 Do you want to use Dioxus Fullstack? · false
✔ 🤷 Do you want to use Dioxus Router? · false
✔ 🤷 Do you want to use Tailwind CSS? · false
✔ 🤷 Which platform do you want DX to serve by default? · Web
50.28s INFO Generated project at demo-web-app
`cd` to your project and run `dx serve` to start developing.
If using Tailwind, make sure to run the Tailwind CLI.
More information is available in the generated `README.md`.
Build cool things! ✌️
❯ cd demo-web-app
❯ dx serve --addr 0.0.0.0 --port 9003
15:02:28 [dev] -----------------------------------------------------------------
Serving your Dioxus app: demo-web 🚀
• Press `ctrl+c` to exit the server
• Press `r` to rebuild the app
• Press `o` to open the app
• Press `v` to toggle verbose logging
• Press `/`for more commands and shortcuts
Learn more at https://dioxuslabs.com/learn/0.6/getting_started
----------------------------------------------------------------
15:03:06 [dev] Build completed successfully in 37793ms, launching app! 💫
╭────────────────────────────────────────────────────────────────────────────────────────── /:more ╮
│ App: ━━━━━━━━━━━━━━━━━━━━━━━━━━ 🎉 37.8s Platform: Web │
│ Bundle: ━━━━━━━━━━━━━━━━━━━━━━━━━━ 🎉 0.0s App features: ["web"] │
│ Status: Serving demo-web 🚀 37.9s Serving at: http://0.0.0.0:9003 │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
Expected behavior
load the demo data in the browser with Bare-Bones or Jumpstart sub-template
Screenshots
Environment:
Dioxus version:
❯ dx --version
dioxus 0.6.1 (was built without git repository)
Rust version:
❯ rustup --version
rustup 1.27.1 (1980-01-01)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active `rustc` version is `rustc 1.83.0 (90b35a623 2024-11-26)`
OS info: Linux
❯ hostnamectl
Kernel: Linux 6.6.66
Architecture: arm64
App platform: web
The text was updated successfully, but these errors were encountered:
Hi, I'm trying to run a web serve but don't get any content, thanks in advance.
Problem: blank page when using dx serve
Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
Screenshots
Environment:
The text was updated successfully, but these errors were encountered: