-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Major-Bug] Module not found: lucide-react #1148
Comments
I'm faced the same issue, I think it's related to [email protected] , I downgraded the version to 13.4.12 and it worked. |
There are more workarounds in this issue: |
Hi @KaramveerSinghSidhu both the CLI and the Manual guide are missing the icons dependency installation. The Icon library changes from theme to theme:
You can manually install them based on your current theme. |
Yeah, i played around with it. It was as JairHuamanBellido said. its a next js versions issue. |
I have created a few next js 13 apps using the https://ui.shadcn.com/docs/installation. When ever i try to use a any component that uses lucide-react i get this error
./node_modules/lucide-react/dist/cjs/lucide-react.js:2:0
Module not found: Can't resolve 'C:\Users\PC\Desktop\gla3\node_modules\lucide-react\dist\cjs\icons\check'
https://nextjs.org/docs/messages/module-not-found
Import trace for requested module:
./components/ui/select.tsx
The text was updated successfully, but these errors were encountered: