New capacitor release, dependency issue

There’s a new version of Capacitor Announcing Capacitor 6.0

By updating :

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: wappler_mobile_app@1.0.0
npm ERR! Found: @capacitor/core@5.7.5
npm ERR! node_modules/@capacitor/core
npm ERR!   @capacitor/core@"^5.5.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @capacitor/core@"^6.0.0" from @capacitor/app@6.0.0
npm ERR! node_modules/@capacitor/app
npm ERR!   @capacitor/app@"*" 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!
npm ERR! For a full report see:
npm ERR! C:\Users\Fran\AppData\Local\npm-cache\_logs\2024-04-20T12_51_17_850Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Fran\AppData\Local\npm-cache\_logs\2024-04-20T12_51_17_850Z-debug-0.log

To support the new major version we will have to update our own dependencies as well and do some major testing first. Hope to do this soon

Thanks @George
Forcing update to 6.0.0 on package.json works fine, but it breaks some native plugins (like camera plugin)

Saying this to someone can avoid breaking their app :slight_smile: