-
-
Notifications
You must be signed in to change notification settings - Fork 918
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
Uncaught Error: Cannot find module 'canvas' in Electron 19 #1519
Comments
switching the config to no longer ignore, but supply differently
Showed a different error
Which points out the real problem -- the canvas module itself is not context-aware The canvas module contributors are aware of the problem, but struggling with a solution |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm having trouble getting started with konva & react-konva in my Electron project based on the boilerplate: https://github.com/hellosoftware-io/electron-typescript-react-mui
Here is a minimal repo showing the problem: https://github.com/ajoslin103/electron-typescript-react-mui
I managed to get the webpack config to work (see below), so the app will compile and launch, but I get a runtime error (whether i have canvas installed or not, does not change the error)
Can anyone say what I should do the fix this problem?
runtime error:
which shows as:
webpack config
The text was updated successfully, but these errors were encountered: