Skip to content

bug: live demo extraction fails - WASM module 404s from jsdelivr (@xberg-io/xberg-wasm@1.0.0-rc.24) #1246

Description

@Goldziher

The Live Demo fails on file upload - it cannot load the WASM module.

Where: docs.xberg.io/demo.html (version badge shows v1.0.0-rc.24)

Repro: drop any file (repro'd with a ~30-page PDF) into the "Try it yourself" box.

Result:

Extraction failed
Failed to fetch dynamically imported module:
https://cdn.jsdelivr.net/npm/@xberg-io/xberg-wasm@1.0.0-rc.24/pkg/web/xberg_wasm.js

Likely cause: the demo dynamically imports the WASM glue from jsdelivr, but @xberg-io/xberg-wasm@1.0.0-rc.24 (or the /pkg/web/xberg_wasm.js path within it) is not resolvable on the CDN - the package/version/path isn't published, so the fetch 404s and extraction never starts.

Reported by a user on r/LocalLLaMA (with screenshot) on the LTS/rename announcement.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions