Vite returns 502 in the default setup for tauri window, but not for web browser #13760
Unanswered
liquidhelium
asked this question in
Q&A
Replies: 1 comment 1 reply
-
do remote pages (like google.com) load fine? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
System Info: Arch Linux, kernel 6.15.4-arch2-1.
With
webkit2gtk-4.1
installed via yay.I created a new project using


yarn create tauri
, selected Typescript+React.When I run
yarn tauri dev
, Tauri window show a blank screen:As the image shown, there's no dom elements. Refreshing the page shows the following error in the console:
However, it worked fine inside web browsers.
Common workarounds didn't worked for me, including
WEBKIT_DISABLE_COMPOSITING_MODE=1 AGENTS=1
. (It was for those whose dom are correct, but I tried nevertheless)Could anyone identify the problem?
Beta Was this translation helpful? Give feedback.
All reactions