Closed Tithy closed 7 months ago
Electron version 19.1.19, nodejs version 16.14.2, win11。
This looks like you are trying to use muhammara in the frontend (so in a browser). By loading it through a js tag, a require inside of an electron window should work, depending on your setup, electron version and type of loading the file. Loading it through some kind of require js by download and evaluate or js tags thhis wont work as there is no node which would be able to load a binary / native module.
Thank you for your suggestion. I have rebuilt the entire project and it is now functioning properly. It is possible that some library versions were too low, and it seems that the canvas library is not compatible with my project.