tabler / tabler-icons

A set of over 5700 free MIT-licensed high-quality SVG icons for you to use in your web projects.
https://tabler.io/icons
MIT License
18.31k stars 917 forks source link

[BUG] Getting "Error: Unsupported Server Component type: `undefined`" with `<IconLogin2 />` #903

Open hexcowboy opened 1 year ago

hexcowboy commented 1 year ago

Discussed in https://github.com/tabler/tabler/discussions/1767

Originally posted by **hexcowboy** November 9, 2023 ### Browser Firefox 119.0 ### OS macOS Ventura ### Screen size 1920x1080 ### Describe the bug With Next.js, I'm getting this stack trace. ![image](https://github.com/tabler/tabler/assets/8162609/7bb4ca92-4741-4625-9c82-d119af303ef5) I'm able to reproduce by using the `` component, and I haven't found any other components that cause this error. ### How to reproduce 1. Start a new Next.js app 2. Import and use the `` component ### Screenshots _No response_ ### JSFiddle _No response_