Hello my problem is to develop phonegap application in HTML5 with the Visual Studio tools for apache cordova https://www.visualstudio.com/en-us/features/cordova-vs.aspx the error write when I debug application is
Ripple :: Environment Warming Up (Tea. Earl Gray. Hot.) ripple.js (37,13099)
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/.> ripple.js (50,28958)
Failed to load resource: the server responded with a status of 404 (Not Found) ripple.js
thank you for the help
May be part of the answer:
For the second error (not found 404), what worked for me is to copy config.xml
to the root path (where your source code is).
For the first error (synchronous XMLHttpRequest
, which is not important for the emulating process, but you may want to see a "clear" console log) just edit ripple.js
[MAIN_DRIVE]:\Users\[YOUR_USER]\AppData\Roaming\npm\node_modules\ripple-emulator\pkg\hosted
In the line that the emulator complains about, look for the xhr request. Change
xmlHttp.open("GET", utils.appLocation() + fileName, false);
to
xmlHttp.open("GET", utils.appLocation() + fileName, true);
and you are done, Hope this helps. These errors are not related by the way.