Error inside Manage Plan
Hey what's up. I received an error after creating the page.tsx file inside the manage-plan folder. Any idea how to solve it ?
./node_modules/.pnpm/@clerk+nextjs@6.12.0_next@15.2.0-canary.76_react-dom@19.0.0_react@19.0.0__react@19.0.0__react_3upoesmtxj4ublwfwlfi3ekc5e/node_modules/@clerk/nextjs/dist/esm/app-router/server
Invalid import
'server-only' cannot be imported from a Client Component module. It should only be used from a Server Component.
The error was caused by importing 'node_modules/.pnpm/@clerk+nextjs@6.12.0_next@15.2.0-canary.76_react-dom@19.0.0_react@19.0.0__react@19.0.0__react_3upoesmtxj4ublwfwlfi3ekc5e/node_modules/@clerk/nextjs/dist/esm/app-router/server'
export default ManagePlan;
1
73 comments
Maurice Holda
2
Error inside Manage Plan
University of Code
skool.com/universityofcode
You'll get Exclusive Lessons & Content, Badass Community Support & More here to elevate as a Dev!
Leaderboard (30-day)
Powered by