Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scrollycoding example does not work with the next15 #487

Open
qiushiyan opened this issue Dec 8, 2024 · 1 comment
Open

scrollycoding example does not work with the next15 #487

qiushiyan opened this issue Dec 8, 2024 · 1 comment

Comments

@qiushiyan
Copy link

qiushiyan commented Dec 8, 2024

I forked the starter project, after upgrading to the latest version of next 15 and @next/mdx 15.0.4, the parseRoot function in the scrollycoding page returns error

[ Server ] Error: Cannot read properties of undefined (reading 'A')

Moving content.md to a standalone page component renders ok. So I guess it has to do with how codehike processes it.

stackblitz link https://stackblitz.com/edit/github-5wcqn232?file=package.json

Commands I used to upgrade the project

npx @next/codemod@canary upgrade latest

npm install @mdx-js/loader@latest @mdx-js/react@latest @next/mdx@latest codehike@latest
@stevef24
Copy link

Yes, Having the same issue here, tried installing the same packages too, didnt work ,I thought it was a issue with turbopack

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants