Closed wineTGH closed 10 months ago
I am also getting this error.
It worked earlier in the week, and it broke after I installed MacOS 17. Which makes me guess that the new safari version is breaking convertFileSrc.
Looks like there is a version mismatch in your package
[-] Packages
- tauri [RUST]: 1.4.1 <----
- tauri-build [RUST]: 1.4.0 <----
- wry [RUST]: 0.24.4
- tao [RUST]: 0.16.2
- @tauri-apps/api [NPM]: 1.5.0 <----
- @tauri-apps/cli [NPM]: 1.4.0 (outdated, latest: 1.5.0). <---
Could you try updating those Tauri versions in package.json
and src-tauri/Cargo.toml
to 1.5.0 and see if the problem exists?
Can confirm, updating rust to 1.5.0 fixes it, but I tried downgrading js api back to 1.4.0 and for some reason it did not work.
Can confirm, updating rust to 1.5.0 fixes it, but I tried downgrading js api back to 1.4.0 and for some reason it did not work.
Could you provide your package info via executing command pnpm tauri info
?
Nevermind, I realized I was downgrading cli instead of api 🤦 . Everything works...
Describe the bug
I'm trying to load image from users directory. Main idea, that user creates directory with certain data and program shows it in cards. I'm using svelte + tauri for this. Everything works except images. Here is code:
My Tauri config. As documentation said, I added csp and following answer on stackoverflow added protocol to allow list.
Reproduction
No response
Expected behavior
No response
Platform and versions
Stack trace
Additional context
No response