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

cannot find package @radix-ui/react-use-controllable-state when using a component like react-dropdown-menu #3173

Open
thomas1Gaillot opened this issue Oct 9, 2024 · 0 comments

Comments

@thomas1Gaillot
Copy link

Bug report

Current Behavior

I am able to display the component on my next app, when I do a hot reload.
When I refresh the page, this error occur and keep being displayed.
pnpm build also show this error.

image

Expected behavior

I have no errors before page generation, and another nextJS project running with similar configurations, working fine.

Suggested solution

  • tried reload,
  • use react-dropdown-menu 2.1.2,
  • try to install @radix-ui/react-use-controllable-state,

Additional context

I am using a NextJS project, based on pages directory, maybe that is somehow causing the error.
This is the only difference I see between my two working projects.

Your environment

Software Name(s) Version
Radix Package(s) @radix-ui/react-dropdown-menu 2.1.1
React n/a ^18
Browser firefox
Assistive tech
Node n/a
npm/yarn
Operating System Windows 11
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

1 participant