maxleiter.com icon indicating copy to clipboard operation
maxleiter.com copied to clipboard

getting the client error

Open girish-chaudhari opened this issue 1 year ago • 4 comments

Screenshot 2024-05-07 at 11 37 17 PM

I don't know why this error is coming, I setup this project and env file. all the post are visible but when we goes on the dynamic blog page [...slug]/page.tsx it doesn't work, giving an error that is use server needs to be used.

could you please resolve it?

girish-chaudhari avatar May 07 '24 18:05 girish-chaudhari

@MaxLeiter can you please check this issue.

girish-chaudhari avatar May 07 '24 18:05 girish-chaudhari

are you using the latest version of next.js?

MaxLeiter avatar May 07 '24 18:05 MaxLeiter

I just cloned the application first and tried to run it but there are some issues with the server components so I changed the version to latest ‘next: 14.2’ but again errors are coming.

Trying to fix it but don’t know where it is breaking the changes.

girish-chaudhari avatar May 08 '24 01:05 girish-chaudhari

and still not able to fix, don't know why it is getting crashed, changed the component to client or server, but no changes for the stable dev

girish-chaudhari avatar May 08 '24 15:05 girish-chaudhari