-
Notifications
You must be signed in to change notification settings - Fork 214
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
[TextField] Server Component bundler error #138
Comments
Next.js should be able to interleave client and server components, but they currently don't work well with the dot notation (See vercel/next.js#51593). Can you try importing the parts as |
Use 'use client' directive at top of your file. |
You don't need this with Radix Themes components, they already have |
Having the same issue, using "use client" directive solved it |
@notDemian have you tried importing the parts without the dot access? E.g. |
@vladmoroz It worked, thank you. You can close the issue if you need. |
Buenas, tengo el mismo problema, ya intente sin el punto y con el "use client" y ninguno me funciono |
Just started a new project. I wonder if Text Field is not meant to be used in server components?
Error: Could not find the module "/node_modules/.pnpm/@radix-ui+themes@2.0.0_@types+react-dom@18.2.14_@types+react@18.2.33_react-dom@18.2.0_react@18.2.0/node_modules/@radix-ui/themes/dist/esm/components/text-field.js#TextField#Input" in the React Client Manifest. This is probably a bug in the React Server Components bundler.
package.json
The text was updated successfully, but these errors were encountered: