You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m trying to use next-contentlayer with a project that relies on Next.js 15, but I encountered a dependency conflict. It seems [email protected] currently specifies a peer dependency on Next.js versions ^12 || ^13, which prevents installation with Next.js 15.
npm install next-contentlayer
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error While resolving: [email protected]
npm error Found: [email protected]
npm error node_modules/next
npm error next@"15.0.2" from the root project
npm error Could not resolve dependency:
npm error peer next@"^12 || ^13" from [email protected]
npm error node_modules/next-contentlayer
npm error next-contentlayer@"^0.3.4" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
Steps to Reproduce:
1. Start with a project using Next.js 15.
2. Run npm install next-contentlayer.
3. Observe the dependency conflict.
Request:
Could you update the peer dependencies for next-contentlayer to support Next.js 15? This would help users who are upgrading to or working on projects with the latest Next.js version.
The text was updated successfully, but these errors were encountered:
Same issue i gett when i upgraded to Next js 15 and React19 rc.
error "[ Server ] Error: Cannot read properties of undefined (reading 'ReactCurrentDispatcher')"
Hi Contentlayer team,
I’m trying to use next-contentlayer with a project that relies on Next.js 15, but I encountered a dependency conflict. It seems [email protected] currently specifies a peer dependency on Next.js versions ^12 || ^13, which prevents installation with Next.js 15.
Steps to Reproduce:
1. Start with a project using Next.js 15.
2. Run npm install next-contentlayer.
3. Observe the dependency conflict.
Request:
Could you update the peer dependencies for next-contentlayer to support Next.js 15? This would help users who are upgrading to or working on projects with the latest Next.js version.
The text was updated successfully, but these errors were encountered: