Open pengrun opened 1 day ago
you are on arm64 and you are compiling canvas node module. Can you compile it outside this build process?
https://github.com/Automattic/node-canvas
Try to compile version 2.11.2 ( latest release ) outside this electron process first and see if you can succeed.
CheckList
Version
6.0.2
In What environments are you experiencing the problem?
Chrome
Node Version (if applicable)
20.15.0
Link To Reproduction
https://codesandbox.io/p/devbox/fabric-node-sandbox-forked-xewlhg
Steps To Reproduce
Expected Behavior
The project should compile and serve without errors.
Actual Behavior
It has been bothering me for a long time, and in the end, I chose to remove the remaining dependencies to locate the problem. When using other dependencies without fabric, make can succeed, but when using fabric, it does not succeed. The packagejson is as follows:
The execution code is as follows:
Error Message & Stack Trace