getting issue with npm install
Opened this issue · 0 comments
Adityapanther commented
Describe the bug
we are getting next@14 dependency error with this package
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: @eisberg-labs/next-google-analytics@5.0.1
npm ERR! Found: next@14.0.4
npm ERR! node_modules/next
npm ERR! next@"14.0.4" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer next@"^13.0.0" from @eisberg-labs/next-google-analytics@5.0.1
npm ERR! node_modules/@eisberg-labs/next-google-analytics
npm ERR! @eisberg-labs/next-google-analytics@"^5.0.1" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: next@13.5.6
npm ERR! node_modules/next
npm ERR! peer next@"^13.0.0" from @eisberg-labs/next-google-analytics@5.0.1
npm ERR! node_modules/@eisberg-labs/next-google-analytics
npm ERR! @eisberg-labs/next-google-analytics@"^5.0.1" 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!
To Reproduce
Steps to reproduce the behavior:
- just install this package with next@14
Expected behavior
it's not show dependency error
Desktop (please complete the following information):
- OS: [Mac]
- Browser [All]