🧩 Plasmo Developers�PD
🧩 Plasmo Developers15mo ago
6 replies
Hex

Svelte imports not working

Not even really sure whats going wrong Ive spent hours on this issue. For some reason when importing either ui elements or libraries with svelte no matter what I do its giving me issues. Examples would be:
Cannot load file './index' from module 'bits-ui'
Failed to resolve '$lib/components/ui/card' from './src/contents/FloatingPanel.svelte'
Failed to resolve 'bits-ui' from './src/lib/components/ui/button/button.svelte'


VS code doesn't give me any errors in fact when I highlight over it it shows me the correct filepath. Along with that if I run pnpx svelte-check I get "svelte-check found 0 errors and 0 warnings."

Here is some relevent files:
Was this page helpful?