-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
node-canvas NAPI crash after multiple calls #8055
Comments
Related to #5835 |
That issue was resolved, they just haven't updated the package version in a year, so you have to manually build it. It works fine unless you call it too many times. |
Is there a workaround for this issue right now? Running into this issue when multiple users run a Discord bot command that uses |
What's the issue with |
I should've been more clear, it's an issue with installing it right now: #7617 edit: though now that I test it with latest Bun, |
No longer reproduces as of Bun v1.1.20. |
What version of Bun is running?
1.0.21+88fcfa446
What platform is your computer?
Linux 5.15.133.1-microsoft-standard-WSL2 x86_64 x86_64
What steps can reproduce the bug?
You will need to install the dependencies required to build it listed at https://github.com/Automattic/node-canvas .
bun i git+https://github.com/Automattic/node-canvas.git
(or use npm i --build-from-source in the directory)
What is the expected behavior?
25 empty images should be printed to the console.
What do you see instead?
Additional information
I am almost certain it was working previously.
The text was updated successfully, but these errors were encountered: