Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning about non-existing config.xml emitted during browser platform restore #104

Open
3 tasks done
goffioul opened this issue Feb 3, 2022 · 2 comments
Open
3 tasks done

Comments

@goffioul
Copy link

goffioul commented Feb 3, 2022

Bug Report

Problem

When restoring browser platform with cordova-plugin-device active, the following warning is emitted:

config file config.xml requested for changes not found at /path/to/project/platforms/browser/config.xml, ignoring

To reproduce, on a freshly created new cordova project:

cordova platform add browser
cordova plugin add cordova-plugin-device     <-- no warning emitted here
rm -rf platforms plugins
cordova prepare browser                      <-- warning emitted

Information

Version information

cordova@11.0.0
cordova-browser@6.0.0
cordova-plugin-device@2.0.3

Checklist

  • I searched for existing GitHub issues
  • I updated all Cordova tooling to most recent version
  • I included all the necessary information above
@erisu erisu transferred this issue from apache/cordova-plugin-device Apr 1, 2022
@erisu
Copy link
Member

erisu commented Apr 1, 2022

This issue was transferred to the cordova-browser repo as it is not related to the individual plugin itself. It was reproducible with other plugins as well. The warning comes from cordova-common, but it might be related to its usage within this repo. Further investigation will be required.

@goffioul
Copy link
Author

Note: When doing the same on electron platform, then plugin restoration fails (instead of a simple warning for browser platform). I found out that I can avoid the issue by not having cordova-plugin-device the first entry in package.json => cordova => plugins.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants