Skip to content

rendering issue with next 15.2.0 #502

@ritiksharmarj

Description

@ritiksharmarj

I have updated the next to its latest 15.2, and all the pages work perfectly, but when I open the blog page, it doesn't work. It is likely related to compatibility issues.

I have also removed --turbopack but the error is still the same.

Terminal error -

 ○ Compiling /blog/[slug] ...
 ✓ Compiled /blog/[slug] in 3s (1241 modules)
 ⨯ [TypeError: Cannot read properties of undefined (reading 'stack')] {
  digest: '3574399807'
}[Error: failed to pipe response] {
  [cause]: [TypeError: Cannot read properties of undefined (reading 'stack')] {
    digest: '3574399807'
  }
}
 GET /blog/2024-recap 500 in 4497ms

mdx-content.tsx

export function MDXContent(props: MDXRemoteProps) {
  return (
    <MDXRemote
      {...props}
      components={{
        ...mdxComponents,
        ...jsxComponents,
        ...(props.components || {}),
      }}
      options={{
        mdxOptions: {
          remarkPlugins: [[remarkCodeHike, codehikeConfig]],
          recmaPlugins: [[recmaCodeHike, codehikeConfig]],
        },
      }}
    />
  );
}
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions