Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Desktop quickstart demo cannot show in macos #2208

Closed
qqke opened this issue Apr 1, 2024 · 4 comments
Closed

Desktop quickstart demo cannot show in macos #2208

qqke opened this issue Apr 1, 2024 · 4 comments
Assignees

Comments

@qqke
Copy link

qqke commented Apr 1, 2024

Can not show any elements on my macos wih dioxus@0.5

@ealmloff
Copy link
Member

ealmloff commented Apr 1, 2024

Following the getting started guide on macOS results in this application on my M2 mac with the 0.5.0 version of both dioxus and the dioxus cli. I choose default CSS styling, no router, and the desktop platform:
Screenshot 2024-04-01 at 8 26 41 AM

Can you provide more details about your setup:

  1. What options did you select in the dx new TUI
  2. What version of rust, the dioxus CLI and dioxus did you use?
  3. Do you see any errors in your terminal or browser console? You can access the browser console by right clicking and clicking inspect element which should show you a screen like this:
    Screenshot 2024-04-01 at 8 29 22 AM

@qqke
Copy link
Author

qqke commented Apr 4, 2024

1.dx new desktop with tailwindcss
2.dx cli 0.5.0
3.show error like this
截屏2024-04-04 21 41 38

@ealmloff ealmloff self-assigned this Apr 4, 2024
@ealmloff
Copy link
Member

ealmloff commented Apr 4, 2024

I cannot reproduce it with that setup on macOS with the 0.5.0 version of the CLI. It might be an error that is specific to the version or your webview. If you are interested in debugging this issue, more information about the syntax error in your console would be useful. We might be compiling to a newer version of javascript for the interpreter than what your browser supports

@qqke
Copy link
Author

qqke commented Apr 13, 2024

It is possible that my outdated macOS Catalina 10.15.7 installation was causing the issue. After switching to Windows 11, the problem no longer occurs.

@qqke qqke closed this as completed Apr 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants