I\'ve got an app that runs fine locally, but barfs in production. (Classic problem, right?)
In production, the JS isn\'t firing correctly. When I open up the brows
According to this bug report, that error occurs when an external resource length does not match the Content-Length header given in the response.
This might occur because of a misconfigured server, or (as a stretch) maybe some BOM characters got put into the file, or maybe even different lines endings (are you writing on a DOS machine and deploying to a UNIX machine?) may cause issues.
Hope this helps.