fix: Post FluentUI updrade getting Error "TypeError:- Failed to fetch dynamically imported module: https://{application url}/_content/Microsoft.FluentUI.AspNetCore.Components/Microsoft.FluentUI.AspNetCore.Components.lib.module.js" #3928
Replies: 3 comments 4 replies
-
We are not going to be able to help you without seeing some code. If you can't share code, maybe create a site with our templates and compare the generated code with your own code to find out where it is different. Moving this to the discussion area as it is not a library issue but an implementation issue. YOu might be able to get more community help there if you can supply more details. |
Beta Was this translation helpful? Give feedback.
-
Hello @vnbaaij , we followed instructions mentioned https://baaijte.net/blog/microsoft-fluentui-aspnetcore.components-4/ to upgrade FluentUI from version 3.0.1 to 4.12.0, but still we are facing the issue as explained above. Please find below some of the code files(other than components) where we made upgrade related changes. Program.cs (with some of my services omitted)
ServiceExtension.cs
_Host.cshtml(shared only those lines which are modified due to v4 changes)
Please have a look and if possible share some pointers which we can try to proceed on the path of resolving this issue. |
Beta Was this translation helpful? Give feedback.
-
Hi @vnbaaij , Your pointers will be highly appreciated. Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
🐛 Bug Report
We upgraded FluentUI from version 3.0.1 to 4.12.0. It's working fine on localhost environment. But when we deployed it on our higher
environment, we are getting below errors:
💻 Repro or Code Sample
It's working fine on localhost environment. But when we deployed it on our higher environment, we are getting mentioned errors.
🤔 Expected Behavior
The fluent-ui assets should load normally.
😯 Current Behavior
I get these errors in my browser console:
🔦 Context
I am stuck at the moment because of this issue.
🌍 Your Environment
OS & Device: Windows
Browser: Microsoft Edge, Google Chrome
.NET library Version: 8.0
Fluent UI Blazor library Version: 4.12.0
Beta Was this translation helpful? Give feedback.
All reactions