-
Notifications
You must be signed in to change notification settings - Fork 21
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
Offline issue: Uncaught SyntaxError: Unexpected token < #37
Comments
Yeah, this does seem weird. I can confirm that headersHelper.js is being transferred with the correct mime-type, both in the code and as being received in Chrome. And also that the syntax is all correct. So it's quite weird that this is only in offline mode. It seems maybe like a browser cache issue. Do you get the same with any other browser? Are you at all able to see the contents of headersHelper.js from the cache? And/or 4c603d60d86a8256c2320771323525a21c7300dd.js line 32? Not sure what that is :( |
@gadicc right now only tested it on Chrome, which is the only browser we're supporting at the moment |
Ok, I should also quote from your more recent message:
Where we get the first warning but not the 2nd error. In general it's a harmless error but I do prefer to avoid these things if I can, just need to work out where it's coming from. Self note, think about how this can/should be added to the offline manifest. |
I also getting this error on iOS Simulator with cordova build |
I get this with |
@gadicc Meteor returns the error page (with a status code of 200, and text/html instead of application/javascript). It then try to embed it under a script tag which causes the syntax error. |
Originally reported by @almogdesign in gadicc/meteor-messageformat#91:
The text was updated successfully, but these errors were encountered: