npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: [email protected]
npm error node_modules/vue
npm error vue@”^2.6.14″ from the root project
npm error
npm error Could not resolve dependency:
npm error peer vue@”^3.2.0″ from [email protected]
npm error node_modules/vue-router
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with –force or –legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error C:UsersPhanzAppDataLocalnpm-cache_logs2024-07-02T15_22_07_936Z-eresolve-report.txt
npm error A complete log of this run can be found in: C:UsersPhanzAppDataLocalnpm-cache_logs2024-07-02T15_22_07_936Z-debug-0.log
i tried to install vue router for my vue project and it returned this error