front-2_2_2.js.map: HTTP error: status code 404 renamed 2.2.0 then front-2_2_2.js.map: Unexpected token ! in JSON at position 0
solved

By Daniel Dumitru, 4 years ago

hello

this is an old issue.

I have upgraded to 2.2.2 and I was receiving

DevTools failed to load SourceMap: Could not load content for https://www.xx.com/modules/revws/views/js/front-2_2_2.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

there is in folder a file front-2_2_0.js.map I have renamed it to 2.2.2 but now gives other error

DevTools failed to load SourceMap: Could not parse content for https://www.xx.com/modules/revws/views/js/front-2_2_2.js.map: Unexpected token ! in JSON at position 0

where can we get correct version of it ?

Thank you

Daniel

By Petr Hucik, 4 years ago

The map file is not part of official distribution.

It is not needed for module to work correctly. Its purpose is only for debugging.

Browser only request this file when in development mode. In standard mode, this file is not requested, so there is no overhead of extra http request.

Please ignore browser warning.