imagetools
imagetools copied to clipboard
Error: vite-imagetools cannot find image with id "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" this is likely an internal error
Error: vite-imagetools cannot find image with id "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" this is likely an internal error
Error: vite-imagetools cannot find image with id "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" this is likely an internal error
Error: vite-imagetools cannot find image with id "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" this is likely an internal error
Error: vite-imagetools cannot find image with id "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" this is likely an internal error
Error: vite-imagetools cannot find image with id "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" this is likely an internal error
Error: vite-imagetools cannot find image with id "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" this is likely an internal error
Error: vite-imagetools cannot find image with id "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" this is likely an internal error
Error: vite-imagetools cannot find image with id "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" this is likely an internal error
Error: vite-imagetools cannot find image with id "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" this is likely an internal error
Error: vite-imagetools cannot find image with id "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" this is likely an internal error
Error: vite-imagetools cannot find image with id "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" this is likely an internal error
Can't say more
I've run into the same problem after updating from a way older version to the current one. For me the fix was updating from shortcut parameters to the longer version:
// "Error: vite-imagetools cannot find image with id ..."
import avif from 'example.jpg?w=500;900;1200&avif&srcset'
import webp from 'example.jpg?w=500;900;1200&webp&srcset'
// Fixed by adding "format=" & "as="
import avif from 'example.jpg?w=500;900;1200&format=avif&as=srcset'`
import webp from 'example.jpg?w=500;900;1200&format=webp&as=srcset'
Hopefully this helps you as well