FROM CACHE - en_header

Could not load content for https://cdn.shopify.com/s/trekkie.storefront.min.js.map

Solved
BigSkillet
Shopify Partner
19 0 18

Does anyone know what's causing this console error and if there's a way to resolve it?

DevTools failed to load source map: Could not load content for https://cdn.shopify.com/s/trekkie.storefront.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
Accepted Solution (1)

Accepted Solutions
iDoThemes
Trailblazer
203 43 79

This is an accepted solution.

There's no sourcemap available for the minified file, dev tools will look for one to make debugging minified files easier, but it isn't required.

Developer of Liquify Chrome Extension -- Enhance the Shopify Theme Code Editor
.




Theme Developer -- Drop me a line

View solution in original post

Replies 8 (8)
iDoThemes
Trailblazer
203 43 79

It should be a warning, not an error and it just means Shopify isn't providing a source map for that file. It's unlikely you need to be debugging this file so you can ignore it.

Developer of Liquify Chrome Extension -- Enhance the Shopify Theme Code Editor
.




Theme Developer -- Drop me a line
BigSkillet
Shopify Partner
19 0 18

Yes, it's a warning. I'm still curious why it's happening.

iDoThemes
Trailblazer
203 43 79

This is an accepted solution.

There's no sourcemap available for the minified file, dev tools will look for one to make debugging minified files easier, but it isn't required.

Developer of Liquify Chrome Extension -- Enhance the Shopify Theme Code Editor
.




Theme Developer -- Drop me a line
BigSkillet
Shopify Partner
19 0 18

The trekkie.storefront.min.js is looking for a map file, but it doesn't exist? Why not ship the map file, or remove the reference from the min file? Kind of annoying seeing the warning all the time. You think they'll ever fix it?

Pakinha
Tourist
4 0 1

Parece que estão colocando Resolvido para algo que não foi Resolvido! Nem para mim, nem para os outros clientes da Shopify. Muitos mandando você não se preucupar, outros dissendo para desligar o botão do Alerta do Problema e fingir que Resolveu o Problema? Para uma Empresa gigante como a Shopify está muito feio esta situação! Mas um cliente aqui e outro ali com problemas como este e a marca vai caindo. Para compartilhar duas linhas de código referente a este alerta encontrei assim: Monorail.produce('monorail-edge.shopifysvc.com',
'trekkie_storefront_load_errors/1.1' Lembrando que isso leva a um erro 404. E testei em outros computadores, a mesma coisa acontece.

markdc
Shopify Partner
22 0 20

Removing the reference from the min file would be the correct solution.

tokant
Shopify Partner
20 0 9

Exactly. @Shopify if you are not providing the .map file then please remove the following from the minified .js:

 

//# sourceMappingURL=trekkie.storefront.min.js.map
emedia_alek
Tourist
7 0 4

Yes please. Shopify — please remove the reference so we don't have to read a warning every time we are inspecting our site in DevTools. Much appreciated!