Es-module shim not used because the request credentials mode does not match

what does this error mean - how do I resolve, thanks!

A preload for 'http://localhost:3000/assets/stimulus/libraries/es-module-shims-c4493e644afb380789c8f0d44266900b8631ec442f8f95886997dac9f98893f1.js' is found, but is not used because the request credentials mode does not match. Consider taking a look at crossorigin attribute.

Using hotwire-rails (0.1.3), vanilla rails app --no-javascript

2 Likes

I’ve posted an issue The resource http://localhost:3000/assets/es-module-shims.min-4213490297290a6ddf72ee4cafbf726e959de874.js was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally. · Issue #133 · rails/importmap-rails · GitHub

1 Like