Software Archive
Read-only legacy content
17061 Discussions

empty js jquery bug WP

Nicolas_Z_
Beginner
538 Views

I'd like to share a bug that almost makes my WP project fail.

Steps to reproduce:

 

1. Create a new Cordova project. 

2. Add an empty .js file anywhere in www (it doesn't even have to be add to a script tag)

3. push file to server

4. Open project on Windows Phone 8 app preview from server

5. A message saying 'There' was a problem installing the application. Make sure you do not have any .zip, .git, and .svn files included." shows up 

I'm unsure of what are the extended effects of this problem, but in a complex project i'm working on this error caused Jquery to fail no matter how it was loaded. I'm guessing it stops loading js after the error is found but i am unsure of its causes as in this example Jquery kept on working

Removing empty js files allowed my project in WP to work again with no error messages.It always worked fine everywhere else though.

0 Kudos
0 Replies
Reply