] Failed to load resource js.map

[Error] Failed to load resource: the server responded with a status of 404 () (cs-head.js.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 () (cs-body.js.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 () (x.js.map, line 0)

I am a getting these errors on Safari. Is there any way to avoid this?

thanks,
Andrew

Hi Andrew,

Thanks for writing in! Those errors are just missing source-maps. They are requested by developer tools (especially in Safari) when possible, but won’t interfere with anything.
Basically it’s a way to map a combined/minified file back to an unbuilt state. When you build for production, along with minifying and combining your JavaScript files, you generate a source map which holds information about your original files. When you query a certain line and column number in your generated JavaScript you can do a lookup in the source map which returns the original location.

So, basically you can ignore those errors. Please check out this link for more information (https://stackoverflow.com/questions/19550060/how-do-i-toggle-source-mapping-in-safari-7/19823890#19823890).

Hope that helps.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.