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

Get rid of canvas dependency #3989

Open
cmahnke opened this issue Nov 15, 2024 · 0 comments
Open

Get rid of canvas dependency #3989

cmahnke opened this issue Nov 15, 2024 · 0 comments
Labels
embed Issues related to installing / embedding Mirador in another application

Comments

@cmahnke
Copy link

cmahnke commented Nov 15, 2024

The canvas dependency has been problematic in the past, especially on platforms where no pre build binaries were supplied. The situation has significantly worsen in the last weeks as Node changing the LTS to 22.11.0.

For a detailed description see:
Automattic/node-canvas#2448
In short:

  • The production canvas module hasn't been updated / released since April 2023 (there is prerelease for a newer version)
  • Binaries aren't provided suitable for current node LTS version on any platform

Currently PDF.js already has merged a PR to move away from canvas with the next version, see mozilla/pdf.js#15652 (comment)

Please replace the module with a suitable replacement which is under active maintenance / support

@cmahnke cmahnke added the embed Issues related to installing / embedding Mirador in another application label Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
embed Issues related to installing / embedding Mirador in another application
Projects
None yet
Development

No branches or pull requests

1 participant