Skip to content

[BUG]: BlazorEssentials.IndexedDb idb loading errors #32

@speedreeder

Description

@speedreeder

Description of the Bug

My site in production went down a few days ago as the CDN seemed to have stopped serving idb. It looked like that was fixed here: #28

However, even when I update to 4.0.1, I'm still getting errors.

Expected Result

Should load BlazorEssentials.IndexedDb

Actual Result

Errors thrown, BlazorEssentials.IndexedDb doesn't load.

Debug logs:

ManagedError: AggregateException_ctor_DefaultMessage (Failed to fetch dynamically imported module: https://localhost:7287/_content/BlazorEssentials.IndexedDb/CloudNimble.BlazorEssentials.IndexedDb.js

TypeError: Failed to fetch dynamically imported module: https://localhost:7287/_content/BlazorEssentials.IndexedDb/CloudNimble.BlazorEssentials.IndexedDb.js) {superStack: {…}, stack: <accessor>, message: 'AggregateException_ctor_DefaultMessage (Fail…b/CloudNimble.BlazorEssentials.IndexedDb.js)', Symbol(wasm js_owned_gc_handle): 38}

Browser console:

Failed to load module script: Expected a JavaScript-or-Wasm module script but the server responded with a MIME type of "text/html". Strict MIME type checking is enforced for module scripts per HTML spec.
:7287/_content/BlazorEssentials.IndexedDb/generated/idb-version:1

Reproduce steps

Install BlazorEssentials.IndexedDb nuget package.
Run project.

Additional Bug Details

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions