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

Dependency issue when adding mdx support #11

Open
bugsz opened this issue Sep 18, 2024 · 0 comments
Open

Dependency issue when adding mdx support #11

bugsz opened this issue Sep 18, 2024 · 0 comments

Comments

@bugsz
Copy link

bugsz commented Sep 18, 2024

I tried to add markdown / mdx to the website. I followed the instructions in this doc. However I found there is a dependency error for @next/mdx. Specifically,

npm error peer react@"19.0.0-rc-206df66e-20240912" from next@15.0.0-canary.158
npm error node_modules/next
npm error next@"canary" from the root project
npm error peer next@"*" from next-themes@0.2.1
npm error node_modules/next-themes
npm error next-themes@"^0.2.1" from the root project

However, when I do npm list, I got

├── next@13.5.1-canary.1 invalid: "canary" from the root project
├── react-dom@18.2.0

I am not an expert in this npm-related thing but I think this could be solved by changing the required version? Anyone could help fix it?

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

1 participant