If Next.js is misidentifying a component's parent as a client, check your "use client" directives and component hierarchy. I had a similar issue while working on a Fapello ( https://fapello.org.uk/ ) project, and cleaning up imports fixed it!