Get rid of canvas
dependency
#3989
Labels
embed
Issues related to installing / embedding Mirador in another application
canvas
dependency
#3989
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:
canvas
module hasn't been updated / released since April 2023 (there is prerelease for a newer version)node
LTS version on any platformCurrently 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
The text was updated successfully, but these errors were encountered: