-
-
Notifications
You must be signed in to change notification settings - Fork 106
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
Create Next Docs App failed with Contentlayer #148
Comments
Contentlayer doesn't support Next.js 14 in their peer dependency yet, you have to disable peer deps error and try again. Pnpm won't throw an error for missing peer deps issue, you can use it as a workaround. |
Please use Next Docs MDX if you don't need Contentlayer specific functionality |
Modify node_modules/next-contentlayer/package.json, next@"^12 || ^13 || ^14 |
Surprisingly this PR hasn't been merged: contentlayerdev/contentlayer#576, I'll leave this issue for now until they officially release a fix. |
Just add Example: |
According to the state of Contentlayer: contentlayerdev/contentlayer#429, I'll recommend Fumadocs MDX if you don't need any Contentlayer-only features. |
Will close this as Next.js 15 RC has been released, we will focus on Fumadocs MDX until Contentlayer has resumed maintenance. |
nothing was fixed, everything worked for me through pnpx. Only this works in rpm:
(where the check mark works)
Error when Default:
Advanced:
Again, I will say that I tested on github codespaces and I think that there are updated versions and working.
The text was updated successfully, but these errors were encountered: