Cannot load js and css in a theme app extension in dev

I’m using the CLI of 3.85.5.

I deployed some code changes today, and after that, the JS and CSS in the theme app extension can’t be loaded. They all give 404 errors. The error is NS_ERROR_CORRUPTED_CONTENT.

GEThttps://cdn.shopify.com/extensions/0199c852-e794-7815-a3e6-1188a23620a3/dev-32ec80e9-0b6a-484b-9be8-47faed2f4887/assets/abc.min.js NS_ERROR_CORRUPTED_CONTENT

GEThttps://cdn.shopify.com/extensions/0199c852-e794-7815-a3e6-1188a23620a3/dev-32ec80e9-0b6a-484b-9be8-47faed2f4887/assets/abc.css NS_ERROR_CORRUPTED_CONTENT

GEThttps://cdn.shopify.com/extensions/0199c852-e794-7815-a3e6-1188a23620a3/dev-32ec80e9-0b6a-484b-9be8-47faed2f4887/assets/def.js NS_ERROR_CORRUPTED_CONTENT

The resource from “https://cdn.shopify.com/extensions/0199c852-e794-7815-a3e6-1188a23620a3/dev-32ec80e9-0b6a-484b-9be8-47faed2f4887/assets/abc.css” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).

This error just happens after I deploy with CLI. Why is it happening? It only affects the dev mode. The production isn’t affected.

1 Like

I encountered the same issue. My CSS file is reporting an error as net::ERR_BLOCKED_BY_ORB

1 Like

It’s a temp issue that disappears after a while

In my case, after it worked for a while, error occurred again

Yes, the issue reappears after I deploy a new version. But I don’t know why. The error was gone for a few days. I suspect a cache issue from Shopify.

I try to use another browser in another device with another network, and it’s still the same