Modal icon indicating copy to clipboard operation
Modal copied to clipboard

[Bug] Failed to fetch dynamically imported module in 7.30/7.31

Open ondrejdobecka opened this issue 9 months ago • 3 comments

When published to Azure, error thrown:

Error: Microsoft.JSInterop.JSException: Failed to fetch dynamically imported module: https://....../_content/Blazored.Modal/BlazoredModal.razor.js TypeError: Failed to fetch dynamically imported module: https://..../_content/Blazored.Modal/BlazoredModal.razor.js

Only in version 7.30 and 7.31

**Hosting Model **

  • Blazor Server, .net 9

ondrejdobecka avatar Apr 09 '25 20:04 ondrejdobecka

Same problema here too

eliasribeiro avatar Apr 12 '25 14:04 eliasribeiro

I'm getting the exact same issue when published to a IIS web server. Blazor server .Net 9.

When you navigate to the file with the URL, it is there and can get served. I am getting loads of these errors in the log file though.

3hxx avatar Jul 23 '25 14:07 3hxx

@chrissainty Do you have any suggestions on this one mate?

3hxx avatar Jul 23 '25 14:07 3hxx