Open Haiz14 opened 3 weeks ago
not reproducible in vscode, should i close it? It only occurs in my neovim lsp.
@Haiz14 we'll leave it for now for documentation sake.
I have a similar thing in VS-Code
@Haiz14 @Xenon27 I was able to replicate a similar issue last week when testing Skeleton for a Next.js project with Turbopack enabled. Can the two of you confirm which framework you're using.
EDIT Haiz I see you linked to the SvelteKit docs, so I'm going to assume this is what you were using. But I'll let you confirm.
I am using SvelteKit
Sveltekit
Same error: Cannot find module '@skeletonlabs/skeleton/plugin' or its corresponding type declarations.
With SvelteKit. Skeleton v3 beta.
Just FYI folks, we've made some headway on this. We have a PR pending. We'll test and release a patch asap:
@Haiz14 @Xenon27 @slythom we've just pushed out an update to the core package. That should be:
@skeletonlabs/skeleton 3.0.0-next.7
If you guys would please update and verify this resolves things on your end.
If you're using VS Code, make sure to restart the local environment. You can do this with shift + control + P
on Windows. Either of the first two options should work.
If all else fails just restart VS Code.
Everything is fine now! Well done, thanks!! And I didn't need to restart the local environment.
Glad to hear! We'll await confirmation from a couple other folks before we close out the issue.
Current Behavior
This error doesn't affect the working of skeleton, only the lsp complains.
Follow reproducing section, and an error like this will be raised by typescript server language server.
Typescript language server version
❯ typescript-language-server --version 4.3.3
Expected Behavior
LSP shouldn't raise this error.
Steps To Reproduce
tailwind.config.ts
should be something likeexport default { content: [ './src/*/.{html,js,svelte,ts}', join(require.resolve('@skeletonlabs/skeleton-svelte'), '../*/.{html,js,svelte,ts}') ],
} as Config;