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

Cannot install the latest version of @vercel/analytics with next@14.1.1-canary.78 #136

Closed
jayan-blutui opened this issue Feb 28, 2024 · 2 comments

Comments

@jayan-blutui
Copy link

I am currently facing an issue where I cannot install the latest version of @vercel/analytics with any next@14.1.1-canary.* build.

The error message:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: @vercel/analytics@1.2.2
npm ERR! Found: next@14.1.1-canary.78
npm ERR! node_modules/next
npm ERR!   next@"^14.1.1-canary.78" from the root project
npm ERR!   peer next@"*" from @markdoc/next.js@0.3.7
npm ERR!   node_modules/@markdoc/next.js
npm ERR!     @markdoc/next.js@"^0.3.7" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peerOptional next@">= 13" from @vercel/analytics@1.2.2
npm ERR! node_modules/@vercel/analytics
npm ERR!   @vercel/analytics@"^1.1.4" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: next@14.1.0
npm ERR! node_modules/next
npm ERR!   peerOptional next@">= 13" from @vercel/analytics@1.2.2
npm ERR!   node_modules/@vercel/analytics
npm ERR!     @vercel/analytics@"^1.1.4" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
@App3x
Copy link

App3x commented Feb 29, 2024

same

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: undefined@undefined
npm ERR! Found: next@14.0.4-canary.17
npm ERR! node_modules/next
npm ERR!   next@"14.0.4-canary.17" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer next@">=13.2.0 <15" from geist@1.2.2
npm ERR! node_modules/geist
npm ERR!   geist@"^1.1.0" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!
npm ERR! For a full report see:
npm ERR! /Users/pex/.npm/_logs/2024-02-29T04_02_19_743Z-eresolve-report.txt

@jayan-blutui
Copy link
Author

Fixed with the stable release of Next.js 14.1.1

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