Skip to content

deps: fix install on Node 22.14+ by updating canvas et al #132

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

Merged
merged 1 commit into from
Mar 29, 2025

Conversation

agilgur5
Copy link
Owner

@agilgur5 agilgur5 commented Mar 28, 2025

Summary

Update canvas and its deps to fix installation issues on Node 22.14+

Details

References

I described this in significant detail in Automattic/node-canvas#2448 (comment), linking back to the Node 22.x CI failures on #126, #130, and their merged commits (also #131 and its merged commit now) and fortunately a maintainer responded there pretty quickly with the root cause.

- a `prebuild-install` bug is causing CI to fail to install `canvas` on Node 22
  - update the patch in the lockfile
  - while at it, bump `canvas` too to a newer version with less deps
@agilgur5 agilgur5 added kind: bug scope: upstream Issue in upstream dependency kind: optimization Performance, space, size, etc improvement kind: internal Changes only affect the internals and not the API or usage scope: dependencies Pull requests that update a dependency file labels Mar 28, 2025

This comment was marked as resolved.

@agilgur5 agilgur5 changed the title deps: update canvas and prebuild-install deps: update canvas et al Mar 29, 2025
@agilgur5 agilgur5 changed the title deps: update canvas et al deps: fix install on Node 22.14+ by updating canvas et al Mar 29, 2025
Copy link
Owner Author

@agilgur5 agilgur5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ LGTM and CI is all green now!

@agilgur5 agilgur5 marked this pull request as ready for review March 29, 2025 06:02
@agilgur5 agilgur5 merged commit 844bc44 into main Mar 29, 2025
8 checks passed
@agilgur5 agilgur5 deleted the deps-update-canvas branch March 29, 2025 06:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: bug kind: internal Changes only affect the internals and not the API or usage kind: optimization Performance, space, size, etc improvement scope: dependencies Pull requests that update a dependency file scope: upstream Issue in upstream dependency
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant