Lucide react

Keep getting this error, never had a problem with this package a day in my life...
4 Replies
Mocha
Mocha16mo ago
Are you importing icons dynamically in components/icons.tsx like in their README for Next.js?
Nate
Nate16mo ago
can you go to that folder and make sure that it both exists and is downloaded? if you're using onedrive, it might not be downloaded unless you tell it to. in general, you shouldn't use onedrive for this reason, and use git to backup and source control your repo
Endgame1013
Endgame101316mo ago
I ran into this recently and it seems to be a bug with the latest version of next and lucide-react. https://github.com/lucide-icons/lucide/issues/1482 downgrade lucide-react to 0.263.1 and you should be fine
GitHub
Import bug in Next.js (v13.4.13) · Issue #1482 · lucide-icons/lucide
Prerequisites Version: 0.264.0 Are you running from source/main: nop Are you using a released build: nop Operating system: Mac OS Bits: - Step to reproduce Import icon in a Next.js v13.4.13 (latest...
BILLY
BILLYOP15mo ago
Absolute legend! Thanks everyone.
Want results from more Discord servers?
Add your server