Next.js: The default export is not a React Component?
Summary As of October 2026, inspect the named page or layout default export first; a page must default-export a React component, and layout guidance requires a default component accepting children (checked 2026-10-28).