Skip to content
This repository has been archived by the owner on Jun 29, 2023. It is now read-only.

Serve not working #141

Closed
gianzellweger opened this issue May 23, 2023 · 4 comments
Closed

Serve not working #141

gianzellweger opened this issue May 23, 2023 · 4 comments

Comments

@gianzellweger
Copy link

What caused the issue?

I tried to use dioxus serve in a project.

What happened?

Nothing showed on the page, so I opened DevTools which look like this:
image

The full text can be found at https://pastebin.com/jCsfyJFX

What was expected?

I expected the application I made to show up.

Attempts at fixing it

I tried different versions of the CLI (not older ones though as I didn't get them to work quickly) and none of them work. I have also tried both Linux and macOS. I also tried macOS on both arm64 and x86. Nothing worked.

@mrxiaozhuox
Copy link
Collaborator

which one cli version you using? git master?

@gianzellweger
Copy link
Author

Both the most recent rev which I installed with cargo install --git https://github.com/dioxuslabs/cli --rev 2bbf69e and also just the most recent stable release which I installed with cargo install dioxus-cli.

@ealmloff
Copy link
Member

This is an issue with Dioxus web. See DioxusLabs/dioxus#944

@gianzellweger
Copy link
Author

The issue was resolved by me switching the toolchain from nightly to stable.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants