Skip to content
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

Bug: import error when using stack auth library #380

Open
shandheap opened this issue Dec 26, 2024 · 1 comment
Open

Bug: import error when using stack auth library #380

shandheap opened this issue Dec 26, 2024 · 1 comment

Comments

@shandheap
Copy link

Hi Stack Auth team, we are currently using Stack Auth on our web application however I have noticed that stack auth ui has an import error which currently shows up on every page render:

[1] Import trace for requested module:
[1] ./node_modules/@stackframe/stack-ui/dist/components/simple-tooltip.js
[1] ./node_modules/@stackframe/stack-ui/dist/index.js
[1] ./node_modules/@stackframe/stack-ui/dist/components/action-dialog.js
[1]  GET /clients?_rsc=18tmw 200 in 414ms
[1]  ⚠ ./node_modules/@stackframe/stack-ui/dist/components/simple-tooltip.js
[1] Attempted import error: 'CircleAlert' is not exported from 'lucide-react' (imported as 'CircleAlert')

Looking at the codebase, there are two places where CircleAlert is imported from lucide-react even though this library does not export the CircleAlert component:

Would appreciate a fix on Stack Auth so that this error message doesn't show up on our frontend.

@N2D4
Copy link
Contributor

N2D4 commented Dec 28, 2024

Can you share your package.json and the output of npm list?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants