cordova-plugin-app-version
cordova-plugin-app-version copied to clipboard
Unable to install. Broken Dependency
When trying to install this plugin, it fails to install with following error. I have @awesome-cordova-plugins/core version 5.43.0 as my other plugins (like WifiWizard etc) are dependent on that so can not update it to 6.4.0. Please let me know if there is any way to resolve it. I tried to look in plugin.xml file to look a dependency but I do not see dependency on @awesome-cordova-plugins/core 6.4.0 so not sure how do I fix it
npm install @awesome-cordova-plugins/app-version npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: [email protected] npm ERR! Found: @awesome-cordova-plugins/[email protected] npm ERR! node_modules/@awesome-cordova-plugins/core npm ERR! @awesome-cordova-plugins/core@"^5.43.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer @awesome-cordova-plugins/core@"^6.0.1" from @awesome-cordova-plugins/[email protected] npm ERR! node_modules/@awesome-cordova-plugins/app-version npm ERR! @awesome-cordova-plugins/app-version@"*" 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!
I'm sorry, this project is unmaintained so I'm not able to help with queries like this. But hopefully someone from the community will be able to help you.
Anyone wants to use updated version of UPI payment with all new banks and android API 30+ use below version Cordova plugin.
cordova plugin add cordova-plugin-get-app-version https://www.npmjs.com/package/cordova-plugin-get-app-version