andytango/mupdf-js

[BUG] Failed to parse URL

NatanB4 opened this issue · 2 comments

Describe the bug
when running the pdf

Log output
abort(TypeError: Failed to parse URL from */mupdf-js/dist/libmupdf.wasm). Build with -s ASSERTIONS=1 for more info.

Desktop

  • OS: Ubuntu
  • OS Version: Ubuntu
  • node
  • Node version: 18.10.0
  • Architecture: AMD64

Facing same issue with:

OS: MacOS Big Sur 11.2
Node Version: 19.3.0 / 18.12.1

Having a similar issue in a React implementation, though not sure if this library can be used in React (with Next.js)
I'm getting this error when running

const mupdf = await createMuPdf();

RuntimeError: abort(RuntimeError: abort(both async and sync fetching of the wasm failed). Build with -s ASSERTIONS=1 for more info.). Build with -s ASSERTIONS=1 for more info.