moshest / next-client-cookies

SSR and client support for cookies in Next.js 13 (app directory)
MIT License
136 stars 9 forks source link

Error "missing required error components, refreshing..." #3

Closed IonelLupu closed 1 year ago

IonelLupu commented 1 year ago

I am on NextJS 13.4.19. I get this error when I do everything from the Readme. The app doesn't do anything: image image

moshest commented 1 year ago

Hi @IonelLupu ,

Thank you for reporting. This library working with many other projects and applications and I think there is something on your setup that causing this issue.

I've added a demo project here so you can see an example of a working setup: https://github.com/moshest/next-client-cookies/tree/main/demo

If you still having an issue, please create a reproduction project and send here a link. I'm closing this issue until more details provided.

IonelLupu commented 12 months ago

@moshest not sure what happened, but now it works. I installed different versions of nextjs. Not sure which one was the issue. All good. thx