-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Nextra has incompatibilities with either next 16 or Turbopack.
After upgrading, I'm seeing this error on every nextra page.
⨯ TypeError: createContext only works in Client Components. Add the "use client" directive at the top of the file to use it. Read more: https://nextjs.org/docs/messages/context-in-server-component
at module evaluation (src/app/resources/documentation/page.mdx.tsx:3:1)
at module evaluation (.next/dev/server/chunks/ssr/[root-of-the-server]__5f50c1a9._.js:1016:47)
1 | /*@jsxRuntime automatic*/
2 | /*@jsxImportSource react*/
> 3 | import {HOC_MDXWrapper} from "nextra/setup-page";
| ^
4 | import {useMDXComponents as _provideComponents} from "next-mdx-import-source-file";
5 | export const metadata = {
6 | "title": "Pipe0 Docs | Introduction", {
page: '/resources/documentation',
digest: '1503878931'
thomaspsl
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working