You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when I configure vite locally as I did in the stackblitz reproduction, I get the following error:
11:09:18 PM [vite] Error when evaluating SSR module /src/routes/(public)/+page.svelte:
Error while preprocessing /workspaces/test/src/lib/client/components/Article.svelte - Failed parsing string to object: {sources:{avif:"http://crispy-enigma-9766jxxrgv9cp4g5.github.dev/@imagetools/2ac042bb202f73feca839531fb859688259f4f48 592w, http://crispy-enigma-9766jxxrgv9cp4g5.github.dev/@imagetools/14c4f9b364da02812278fe5d9f709af0f4e4b7be 1184w",webp:"http://crispy-enigma-9766jxxrgv9cp4g5.github.dev/@imagetools/e8a54b4d54c1776abfba0f5fa44502bd1eaee197 592w, http://crispy-enigma-9766jxxrgv9cp4g5.github.dev/@imagetools/9c5f751f9ee17884bbf4f0fc7a004b03c2340593 1184w",png:"http://crispy-enigma-9766jxxrgv9cp4g5.github.dev/@imagetools/55dded0d1210d835e7da60786c4791bbf00ea91f 592w, http://crispy-enigma-9766jxxrgv9cp4g5.github.dev/@imagetools/81e6df6384588527fdb816b61720532ce1b6e8cb 1184w"},img:{src:"http://crispy-enigma-9766jxxrgv9cp4g5.github.dev/@imagetools/81e6df6384588527fdb816b61720532ce1b6e8cb",w:1184,h:1008}}
at parseObject (file:///workspaces/test/node_modules/.pnpm/@sveltejs+enhanced-img@0.4.1_rollup@4.24.0_svelte@5.2.7_vite@5.4.11_@types+node@22.9.1_/node_modules/@sveltejs/enhanced-img/src/preprocessor.js:236:9)
In the reproduction, enhanced:img elements do not get transformed at all. I followed the steps to set enhanced image up as described here: https://svelte.dev/docs/kit/images, but maybe I messed up. I now believe that maybe the latest version of enhanced:img is incompatible with the version of svelte the reproduction has (or my local environment?) I am not sure honestly.
Describe the bug
when I configure vite locally as I did in the stackblitz reproduction, I get the following error:
In the reproduction, enhanced:img elements do not get transformed at all. I followed the steps to set enhanced image up as described here: https://svelte.dev/docs/kit/images, but maybe I messed up. I now believe that maybe the latest version of enhanced:img is incompatible with the version of svelte the reproduction has (or my local environment?) I am not sure honestly.
Reproduction
https://stackblitz.com/edit/sveltejs-kit-template-default-zvdgag?file=src%2Froutes%2F%2Bpage.svelte
Logs
No response
System Info
Severity
blocking all usage of SvelteKit
Additional Information
No response
The text was updated successfully, but these errors were encountered: