Closed MozzieMD closed 1 week ago
I have the same issue, shared folder not in node_modules
also have this problem
is there a workaround anyone has found temporarily?
I also ran into this 😅
is there a workaround anyone has found temporarily?
Install older version ) 0.372 Works fine for me
+ 1
After dedicating four hours to identifying the problem, I discovered that the latest version of Lucide was lacking '@lucide/shared'. Indeed!
After dedicating four hours to identifying the problem, I discovered that the latest version of Lucide was lacking '@lucide/shared'. Indeed!
Which previous version has it?
This fixed it for me ..
pnpm i lucide-svelte@0.375.0
This fixed it for me ..
pnpm i lucide-svelte@0.375.0
Will try out, thank you
Same error on linux, also fixed with setting lucide-svelte@0.375.0
getting same error with lucide-svelte@0.375.0
Sorry for the inconvenience. The Svelte package has a different build system than our other packages. @lucide/shared
was designed to be included in the code, not as a dependency. @sveltejs/package
was not able to include this.
I've made a fix to revert the shared package for @lucide/shared
.
Fix published on lucide-svelte@0.376.1
Package
Version
0.376
Can you reproduce this in the latest version?
Browser
Operating system
Description
[vite] Pre-transform error: Failed to load url @lucide/shared (resolved id: @lucide/shared) in .../node_modules/lucide-svelte/dist/Icon.svelte. Does the file exist?
Steps to reproduce
!. Install, 2.Use
Checklist