Error: invariant expected app router to be mounted #19995
Replies: 3 comments 1 reply
-
I couldn't find specific information about the "invariant expected app router to be mounted" error in the context of using
If these steps do not resolve the issue, consider isolating the problem by testing with a minimal setup or checking for any additional logs or error messages that might provide more context. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
Beta Was this translation helpful? Give feedback.
-
not-found-boundary.js:37 Uncaught Error: invariant expected app router to be mounted
React will try to recreate this component tree from scratch using the error boundary you provided, ReactDevOverlay. |
Beta Was this translation helpful? Give feedback.
-
I resolved this error. Cal.com Atoms SDK does not support Nextjs App router. Should you Page router instead that one. |
Beta Was this translation helpful? Give feedback.
-
When I add cal.com atoms UI component (), then this error occurs.
I'm using Next.js lastest version and App router. I wrapped CalProvider correctly.
"use client";
import { Connect, AvailabilitySettings } from "@calcom/atoms";
export default function UserPage() {
return (
<Connect.GoogleCalendar />
);
}
Beta Was this translation helpful? Give feedback.
All reactions