Open cwtuan opened 1 year ago
It builds and works fine on Bun, the maintainers just haven't released a version since they migrated to NAPI. If you use the .git link in "bun i git+githere" then it'll successfully build it and work, given you have the dependencies.
But it does seem that there is a bug in Bun currently causing it to crash after repeated calls.
When I try to run my project with Bun, I get the error
node_modules/canvas/build/Release/canvas.node: undefined symbol: node_module_register
I am using https://github.com/akira-cn/node-canvas-webgl, but this seems to be a problem with node-canvas.
EDIT: works fine with Node
+1
Feature
Support bun runtime
Steps to Reproduce
Run the example in bun runtime caused error:
Your Environment