Skip to content

Conversation

stldev
Copy link

@stldev stldev commented Jul 23, 2024

Description

  • In using node 20+ with corepack enabled it will write the packageManager field in the package.json file. Without that field yarn (thru corepack) might not use the correct version, but if developer does not use corepack then the field is ignored.
    image

  • Trying to get node-canvas built on m1 mac works fine with node-gyp 10+.

    • Regular "yarn" with existing node-gyp throws error
      image

    • Bump the node-gyp latest resolution to 10.2.0 and node-canvas now builds correctly
      image

  • Jsdom is important dep and it would be nice to get some newer releases for it. When I got to jsdom 20+ I was running into issues with some tests. jsdom 19 works correctly with existing tests.

Related issues

It is related to this pr = #2058 . I was struggling to get everything up and running on my m1 mac (windows was fine).

Checklist

  • New tests added or existing tests modified to cover all changes
    • existing tests cover the changes
  • Code conforms with the JSHint rules (yarn run jshint passes)

@emn-dev
Copy link

emn-dev commented Aug 26, 2025

@lehni hello! I have created a repo for paper2 = https://github.com/emn-dev/paper2 , with its sole purpose to use the same great paperjs with modern tooling. Would you be willing to discuss it with me? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants