Could not resolve dependency: peer @capacitor/core@"^5.0.0" from @capacitor-community/[email protected] #38
Closed
Description
The npm install
command is failing with a dependency error. Any suggestion on how to solve this in the prefered way?
➜ gira-app git:(main) ✗ npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: @capacitor/[email protected]
npm ERR! node_modules/@capacitor/core
npm ERR! @capacitor/core@"^7.2.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @capacitor/core@"^5.0.0" from @capacitor-community/[email protected]
npm ERR! node_modules/@capacitor-community/keep-awake
npm ERR! @capacitor-community/keep-awake@"^4.0.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.
Metadata
Metadata
Assignees
Labels
No labels