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

[bug] a tauri app create by npm create tauri-app doesn't render properly #87

Closed
zw201913 opened this issue Jul 21, 2022 · 9 comments
Closed

Comments

@zw201913
Copy link

image

Then I start the project through the command about `npm run tauri dev`, but it gives an error when rendering。

image

Below is info of `npm run tauri info`:

image

image

Below is struct of the project:

image

please tell me how to solve this problem? thx
@amrbashir
Copy link
Member

Can you get a trace where this syntax error happens?

@zw201913
Copy link
Author

I followed the documentation step by step, I guess the problem is on TypeScript, but I don't know TypeScript, so I can't locate the specific problem.

@amrbashir
Copy link
Member

can you just expand the error in the console and copy it here.

@zw201913
Copy link
Author

image

@amrbashir
Copy link
Member

can you try opening the same vite project in safari?

@zw201913
Copy link
Author

it is ok in chrome:
image

@zw201913
Copy link
Author

it is not ok in safari
image

@zw201913
Copy link
Author

the safari‘s version is 13.0.3 (13608.3.10.10.1)

@amrbashir
Copy link
Member

amrbashir commented Jul 26, 2022

Nothing we can do about it. Please open an issue at vite repo.

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