
Hi I have problem on build application that show me this error
Route /profile couldn't be rendered statically because it used cookies. See more info here: https://nextjs.org/docs/messages/dynamic-server-error",
pr:build: digest: 'DYNAMIC_SERVER_USAGE
I use like is in example of demo SSR nextjs just for different page export default async function ProfilePage() {
const user = await getLoggedInUser() return ( <ProfileView name={user?.name} email={user.email} />)
Are someone have same problem?

That seems to be a next.js problem. What version of next.js are you using? can you show the code of /profile?

"next": "^14.2.6" and here is profile ```export default async function ProfilePage() { const user = await getLoggedInUser()
if (!user) redirect('/login') return ( <> <ProfileView name={user?.name} email={user.email}> <h4 className="text-white font-mono">Overview Page</h4> </ProfileView> </> ) } ``` ProfileView is client component

I change to "next": "^14.1.3 " and its working so yes nextJS problem
Recommended threads
- Stuck in "deleting"
my parent element have relationship that doesnt exist and its stuck in "deleting", i cant delete it gives me error: Collection with the requested ID could not b...
- Help with 409 Error on Relationship Setu...
I ran into a 409 document_already_exists issue. with AppWrite so I tried to debug. Here's what I've set up: Collection A has 3 attributes and a two-way 1-to-m...
- 1.7.0 Self Hosted Upgrade
Hi, I've tried a fresh install on 1.7.0 and I've also done a fresh install on 1.6.2. 1.6.2 is working fine fresh, update to 1.7.0 and migrate fails Fresh inst...
