Upgrade to 15.2.1 breaks dev server on markdown pages #489
florianmartens
started this conversation in
General
Replies: 1 comment
-
@florianmartens I experienced this too. Adding // 📂 next.config.ts
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
/* config options here */
transpilePackages: ["next-mdx-remote"],
};
export default nextConfig; See this developing issue here: #488 (comment). There is a note in the readme to transpile if you are using Turbopack but it points to a different issue https://github.com/hashicorp/next-mdx-remote?tab=readme-ov-file#installation. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm seeing this error when trying to render pages with mdx in next 15.2.1. Everything works in 15.1.6.
error:
path: `docs/[slug]/page.tsx_
This is how markdown is compiled:
Current behavior:
Markdown pages break on dev server. I am able to build the website and it runs in production.
Expected behavior:
Dev server does not break
Beta Was this translation helpful? Give feedback.
All reactions