Open nemzyx opened 5 months ago
Hmm, i assume the issue is because they may have upgraded the minimal browser versions (for dev mode at least). The webview in macOS 10.15 is basically Safari 13. I don't have access to my 10.15 vm right now so this is only a guess. (it still works for me on the latest macos/windows versions fwiw)
Are there any errors in the devtools console of the webview?
I just went through it, and after a couple of tries, got the expected result following the exact instructions. The first two tries gave me Os Error Code 2 - not sure if this was because I selected 'Try Svelte 5 preview (unstable)'
Ah. Now I am running into
> tauri-svelte@0.0.1 tauri
> tauri dev
Error failed to get cargo metadata: No such file or directory (os error 2)
Describe the bug
After carefully following the quickstart guide for SvelteKit, my Tauri application showed up blank (white/blank UI, but working on
localhost:localhost:5173
).I noticed that recently SvelteKit got upgraded to version 2.
Workaround
So i tried using older packages, which is a workaround for now:
npm create svelte@5.3.4 my-app
npm install --save-dev @sveltejs/adapter-static@2.0.3
Reproduction
Follow instructions on https://tauri.app/v1/guides/getting-started/setup/sveltekit
Expected behavior
Welcome to SvelteKit
Visit kit.svelte.dev to read the documentation
... Showing up in window - but it doesn't.
:(
Full
tauri info
output