Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Failed to fetch dynamically imported module: server/siteName/page/_content/BlazorWasmAntivirusProtection/BlazorWasmAntivirusProtection.lib.module.js #56

Open
carthax12 opened this issue Oct 13, 2023 · 0 comments

Comments

@carthax12
Copy link

carthax12 commented Oct 13, 2023

I had to use BlazorWasmAntivirusProtection to get around the stupid issue with antivirus blocking all DLL file downloads.

Since installing this NuGet package, my main index page loads with no problems. Then I can log in as an instructor, then as a student, then take a 60-question test. When I click "finish" on the test, I get this error on the test results page:

blazor.webassembly.js:1 TypeError: Failed to fetch dynamically imported module: https://server/siteName/page/_content/BlazorWasmAntivirusProtection/BlazorWasmAntivirusProtection.lib.module.js
(anonymous) @ blazor.webassembly.js:1

Similarly, I can load the index page, then click the Admin login option, and I get the above error.

Do you know of any reason that the file would just disappear from the Sources list between page clicks?

This is my Sources tab in Admin Tools when I'm on any of the pages that work:
image

This is my Sources tab in Admin Tools when I'm on any of the pages that don't work:

image

I'm at my wit's end.

Edit: It's looking for the code in the wrong place. It's looking in server/site/page/_content/..., when it should be looking in server/site/_content/...

I'm not sure why, though. Does anyone have any thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant