Closed maoqxxmm closed 2 years ago
Guys, I've found another canvas library for node: https://github.com/Brooooooklyn/canvas. It is pre-built and requires no dependency been pre-installed.
@maoqxxmm I am required to use this Canvas library as it is a dependency for another library. Did you ever figure out what the problem was here and a way to fix it? Thanks!
@GitMurf did figure this out?
@coycoylaniba I suspect this issue was due to node-canvas not using the node-addon-api in the past. Just recently the team has finished a PR for moving to use the node-addon-api and should have a new release (sounds like v3.0) soon! See here: https://github.com/Automattic/node-canvas/pull/2235
this sounds, im excited for this fix. thanks man
On Mon, Oct 9, 2023, 10:40 PM GitMurf @.***> wrote:
@coycoylaniba https://github.com/coycoylaniba I suspect this issue was due to node-canvas not using the node-addon-api in the past. Just recently the team has finished a PR for moving to use the node-addon-api and should have a new release (sounds like v3.0) soon! See here: #2235 https://github.com/Automattic/node-canvas/pull/2235
— Reply to this email directly, view it on GitHub https://github.com/Automattic/node-canvas/issues/2102#issuecomment-1753141669, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALHF2MJQ45VKJL6UCDRY6XLX6QEGHAVCNFSM573GRIF2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCNZVGMYTIMJWGY4Q . You are receiving this because you were mentioned.Message ID: @.***>
Issue or Feature
I'm using GitHub Actions to build package on Windows. I have downloaded GTK 2 by shell commands. And I have tried many versions of Node. None of them works.
Steps to Reproduce
refer to https://github.com/zhxie/anioke/pull/79
Your Environment
npm list canvas
oryarn list canvas
): 2.9.3The error log