I get the following error in Chrome Chrome browser
Failed to load resource: net :: ERR_CONTENT_LENGTH_MISMATCH error for the Angular.js mini file
Failed to load resource: net :: ERR_CONTENT_LENGTH_MISMATCH / js / angular / angular.js Not prepared TypeError: unable to read property module undefined angular -cookies.js: 6
Uncaught TypeError: Cannot read property module undefined
Uncaught ReferenceError: angular not defined
Uncaught Referencer not determined
This error usually appears when I delete the browser cache and try to access the application (Java / JSP application with Angular.js for the interface). But when I refresh the page, the error disappears.
In addition, on the browser source tab (development tools), I found that the Angular.js file is completely empty, and in my server logs I do not see an error for my request for the Angular.js file.
GET / * / js / angular / angular.js HTTP / 1.1 "200 125539 3 1
This problem sometimes occurs in Firefox.
Has anyone encountered this problem and had any suggestions on how I can fix this problem?
source
share