You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Try to compile version 2.11.2 ( latest release ) outside this electron process first and see if you can succeed.
First of all, thank you for your reply.
I have already used the latest version of node canvas. When adding fabric.js,electron forcealways fails to build. However, if I removefabric.jsand add other canvas dependencies (such as@cyntler/react-doc-viewer)
electron forcecan be built normally. At the same time, I replaced the previous only Fabric. js dependency with @cyntler/react-doc-viewer": "^1.17.0. After that, electroncan be built.
By querying yarn. lock, I found that@cyntler/react-doc-viewer": "^1.17.0refers to[email protected]The corresponding node in optionalDependencies is 2.11.2.
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
3.yarn install
4.yarn make-debug
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
The text was updated successfully, but these errors were encountered: