Good day. Installed Ionic 7 on my laptop and using Java 20. Tried to develop around google-maps and installing the package using “npm install @capacitor/google-maps” leads me this error:
While resolving: [email protected]
Found: @capacitor/[email protected]
node_modules/@capacitor/core
@capacitor/core@"6.0.0" from the root project
Could not resolve dependency:
peer @capacitor/core@”^5.0.0″ from @capacitor/[email protected]
node_modules/@capacitor/google-maps
@capacitor/google-maps@"*" from the root project
Fix the upstream dependency conflict, or retry this command with –force or –legacy-peer-deps to accept an incorrect (and potentially broken) dependency resolution.
Tried installing it with –force and –legacy-peer-deps and it just breaks the project.
Uninstalling the @capacitor/core for a while and installing @capacitor/google-maps doesn’t solve it either.
Is this a version problem?