MIME type for latest dash unpkg files is JSON not Script?

Hi,

I am seeing the following errors when running a Dash app, and it seems to be the case that dash source map files are being described as JSON? Is this an issue on my side or is this a server side bug?

Refused to execute script from ‘https://unpkg.com/dash-core-components@1.0.0-alpha4/dash_core_components/dash_core_components.min.js.map’ because its MIME type (‘application/json’) is not executable, and strict MIME type checking is enabled.

Refused to execute script from ‘https://unpkg.com/dash-renderer@1.0.0-alpha2/dash_renderer/dash_renderer.min.js.map’ because its MIME type (‘application/json’) is not executable, and strict MIME type checking is enabled.

1 Like

I had the same problem, I got into a deep rabbit-hole by allowing 3rd party cookies, etc. The only thing that finally worked was updating dash to its newest version (from 0.32.0 to 0.39.0) in the requirements text file. I don’t encounter that problem anymore. Hope this helps!

This fixed it earlier for me too. Some dash versions (especially the newer rc versions) didn’t work correctly for me. The lesson is always use the latest stable release.

thanks for showing the errors.
systems architect