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:

Hey @George , any hope that this can be corrected in one of the next releases? I'm troubleshooting an issue with deep links and I'm hoping it is corrected in 6.

Bump please

1 Like

Bump :slight_smile: think 7 has now been released and has a breaking change over 5 (Updating to 7.0 | Capacitor Documentation)

bundledWebRuntime was removed on the last release of Capacitor v7

@patrick that seems to be an issue right?

Bump

We will address the new capacitor versions 6 and 7 update and migration in the next beta of Wappler 7

3 Likes