NextJS Element Type Invalid when importing Icon components?

I'm importing icon components in my next app and whenever I try to render them I get an "Element type is invalid" message. Importing from lucide-react if that matters. Weird thing was these icons were previously working perfectly and now it's throwing this error if I try to use them
1 Reply
whatplan
whatplan16mo ago
uninstall & reinstall lucide? worth a try if you havent already