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]: $setup.cn is not a function #1006

Open
2 tasks
imkonsowa opened this issue Jan 20, 2025 · 2 comments
Open
2 tasks

[Bug]: $setup.cn is not a function #1006

imkonsowa opened this issue Jan 20, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@imkonsowa
Copy link

Reproduction

https://github.com/imkonsowa/shadcn-ui

Describe the bug

As the title describes, I'm getting error $setup.cn is not a function when I try to use Sidebar component

Node version: v20.18.0
Reproduction template: https://github.com/imkonsowa/shadcn-ui

System Info

System: Linux & Macos
Browser: Chrome

Contributes

  • I am willing to submit a PR to fix this issue
  • I am willing to submit a PR with failing tests
@imkonsowa imkonsowa added the bug Something isn't working label Jan 20, 2025
@hanasa2023
Copy link

Maybe you should use the Sidebar component as the child of SidebarProvider component.

@imkonsowa
Copy link
Author

@hanasa2023 Thanks for the suggestion, but that didn't fix it unfortunately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants