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
Description:
I encountered a dependency resolution issue while trying to install next-navigation-guard in my project, which uses [email protected]. The error message indicates that next-navigation-guard requires next versions ^14 || ^15, leading to a conflict.
Error Log:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/next
npm ERR! next@"13.2.4" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer next@"^14 || ^15" from [email protected]
npm ERR! node_modules/next-navigation-guard
npm ERR! next-navigation-guard@"*" 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! For a full report see:
npm ERR! /home/bs/.npm/_logs/2025-01-23T13_12_03_700Z-eresolve-report.txt
npm ERR! A complete log of this run can be found in: /home/bs/.npm/_logs/2025-01-23T13_12_03_700Z-debug-0.log
Suggested Resolution:
Consider updating the peerDependencies of next-navigation-guard to support [email protected] versions, or provide guidance on the recommended next steps.
Additional Information:
I am aware of the workaround to use --force, but I prefer not to use this due to potential issues with prod deployment. Any insights or recommendations on how to resolve this issue would be greatly appreciated. Thank you!
The text was updated successfully, but these errors were encountered:
Description:
I encountered a dependency resolution issue while trying to install
next-navigation-guard
in my project, which uses[email protected]
. The error message indicates thatnext-navigation-guard
requiresnext
versions^14 || ^15
, leading to a conflict.Error Log:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/next
npm ERR! next@"13.2.4" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer next@"^14 || ^15" from [email protected]
npm ERR! node_modules/next-navigation-guard
npm ERR! next-navigation-guard@"*" 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! For a full report see:
npm ERR! /home/bs/.npm/_logs/2025-01-23T13_12_03_700Z-eresolve-report.txt
npm ERR! A complete log of this run can be found in: /home/bs/.npm/_logs/2025-01-23T13_12_03_700Z-debug-0.log
Steps to Reproduce:
[email protected]
.npm install next-navigation-guard
.Suggested Resolution:
Consider updating the
peerDependencies
ofnext-navigation-guard
to support[email protected]
versions, or provide guidance on the recommended next steps.Additional Information:
I am aware of the workaround to use
--force
, but I prefer not to use this due to potential issues with prod deployment. Any insights or recommendations on how to resolve this issue would be greatly appreciated. Thank you!The text was updated successfully, but these errors were encountered: