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
By cloning the repo, and opening the sveltekit example folder within an IDE. The type defs are brokwn, see attached screenshot.
This is also not working on a project of mine with the same error and unsure why the types are not resolving.
I'm running into this as well. Things are set up correctly, the icons are working, but WebStorm is giving me the Cannot resolve directory ~icons error as well.
However, npm run check (svelte-kit sync && svelte-check --tsconfig ./tsconfig.json) doesn't produce any errors, and when I CMD+click the import statement (e.g. "~icons/mi/external-link") it takes me to node_modules/unplugin-icons/types/svelte4.d.ts which shows:
Describe the bug
By cloning the repo, and opening the
sveltekit
example folder within an IDE. The type defs are brokwn, see attached screenshot.This is also not working on a project of mine with the same error and unsure why the types are not resolving.
Cannot resolve directory 'virtual:icons'
Reproduction
Repo - /examples/sveltekit
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: