ITADN

square-user not working properly!

#4354Openkidus1001 创建于 2026-05-09
🐛 bug
K
kidus1001commented
### Package - [ ] lucide - [ ] lucide-angular (old version) - [ ] @lucide/angular (new version) - [ ] @lucide/astro - [ ] lucide-flutter - [ ] lucide-preact - [x] lucide-react - [ ] lucide-react-native - [ ] lucide-solid - [ ] lucide-static - [ ] lucide-svelte (old version) - [ ] @lucide/svelte (new version) - [ ] lucide-vue - [ ] lucide-vue-next - [ ] lucide-astro - [ ] @lucide/icons - [ ] Figma plugin - [ ] source/main - [ ] other/not relevant ### Version 1.14.0 ### Can you reproduce this in the latest version? - [x] Yes - [ ] No ### Browser - [x] Chrome/Chromium - [ ] Firefox - [ ] Safari - [ ] Edge - [ ] iOS Safari - [ ] Opera - [ ] Other/not relevant ### Operating system - [ ] Windows - [ ] Linux - [x] macOS - [ ] ChromeOS - [ ] iOS - [ ] Android - [ ] Other/not relevant ### Description I wanted to use the icon in my next js project. It works fine for all icons that I used, but got error messages for this specific icon. Here is the error message! ``` Runtime Error Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports. Check the render method of `Header`. ``` ### Steps to reproduce 1. Import lucide-react 2. Try using the icon in your next.js app. ### Checklist - [x] I have searched if someone has submitted a similar issue before and there weren't any. (Please make sure to also search closed issues, as this issue might already have been resolved.)
0 条评论