Cannot find plugin.xml for plugin 'cordova-plugin-compat'
See original GitHub issueSince a while, I am getting this error when trying to run an app with meteor run android-device
:
% "cordova-plugin-file" is required by (cordova-plugin-file-transfer) and cannot be removed (hint: use -f or --force) and cannot be removed (hint: use -f or --force)
% Failed to install 'phonegap-plugin-push':CordovaError: Cannot find plugin.xml for plugin 'cordova-plugin-compat'. Please try adding it again.
at new PluginInfo (/Users/waldgeist/.meteor/packages/meteor-tool/.1.1.10.195lp5z++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/cordova-lib/src/PluginInfo.js:329:15)
at PluginInfoProvider.get (/Users/waldgeist/.meteor/packages/meteor-tool/.1.1.10.195lp5z++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/cordova-lib/src/PluginInfoProvider.js:35:32)
at /Users/waldgeist/.meteor/packages/meteor-tool/.1.1.10.195lp5z++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/cordova-lib/src/plugman/prepare.js:80:45
at Array.forEach (native)
at Object.handlePrepare (/Users/waldgeist/.meteor/packages/meteor-tool/.1.1.10.195lp5z++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/cordova-lib/src/plugman/prepare.js:78:24)
at /Users/waldgeist/.meteor/packages/meteor-tool/.1.1.10.195lp5z++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/cordova-lib/src/plugman/install.js:586:28
at _fulfilled (/Users/waldgeist/.meteor/packages/meteor-tool/.1.1.10.195lp5z++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/q/q.js:787:54)
at self.promiseDispatch.done (/Users/waldgeist/.meteor/packages/meteor-tool/.1.1.10.195lp5z++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/q/q.js:816:30)
at Promise.promise.promiseDispatch (/Users/waldgeist/.meteor/packages/meteor-tool/.1.1.10.195lp5z++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/q/q.js:749:13)
at /Users/waldgeist/.meteor/packages/meteor-tool/.1.1.10.195lp5z++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/q/q.js:810:14
at flush (/Users/waldgeist/.meteor/packages/meteor-tool/.1.1.10.195lp5z++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/q/q.js:108:17)
at process._tickCallback (node.js:448:13)
=> Errors executing Cordova commands:
While adding plugin phonegap-plugin-push@1.3.0 to Cordova project:
Cordova error: Cannot find plugin.xml for plugin 'cordova-plugin-compat'. Please try adding it
again.
(If the error message contains suggestions for a fix, note that this may not apply to the Meteor
integration. You can try running again with the --verbose option to help diagnose the issue.)
It works if I do a meteor reset
right before the meteor run
, but it won’t work for a second meteor run
. Any ideas what might be causing this? Is there any update in the push plugin that’s not compatible any more? Note: I’m still on Meteor 1.2.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:13 (4 by maintainers)
Top Results From Across the Web
Cordova: Cannot find plugin.xml - Stack Overflow
I ran into this issue while trying to upgrade a plugin. Start by deleting the plugin folder <myapp>/plugins/cordova-plugin-file-transfer as ...
Read more >Cordova: Failed to install, Cannot find plugin.xml #8998 - GitHub
I have very strange issue: Stack: Total time: 1.291 secs %% Failed to install 'cordova-plugin-geolocation':Cannot find plugin.xml for plugin ...
Read more >Cannot find plugin.xml for plugin 'com.ionic.keyboard'
I get this error : $ cordova plugin remove ionic-plugin-keyboard Uninstalling ionic-plugin-keyboard from android Cannot find plugin.xml for ...
Read more >Cordova Plugins | Capacitor Documentation
If you find an issue with an existing Cordova plugin, please let us know by providing the issue's details and plugin information. Variables...
Read more >Cordova: Cannot find plugin.xml - iTecNote
Cordova: Cannot find plugin.xml. cordovaionic-framework. I am trying to remove this plugin from my coordova file and I am getting this issues
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I SOLVED that by add the plugin from GitHub repository: https://github.com/meteor/meteor/issues/8998#issuecomment-353261759
if thats the case just add the compat plugin in the
.meteor/corova-plugins