react-server error #1158
Replies: 1 comment 1 reply
-
Fixed the issue by adding "use client" to shadcn/ui sidebar component file |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I added some shadcn/ui components and pages to the starter project and am now getting the following error.
Can anyone help me understand why this error happens all of a sudden, am I missing some "use client" declaration, or is it a config error / something else?
"The "react" package in this environment is not configured correctly. The "react-server" condition must be enabled in any environment that runs React Server Components."
I'm using:
"waku": "0.21.14",
"react": "19.0.0",
"react-dom": "19.0.0",
"react-server-dom-webpack": "19.0.0"
Beta Was this translation helpful? Give feedback.
All reactions