DEV Community

Discussion on: I had to build my own Markdown Editor because no tool was fast enough for me.

Collapse
 
markoshiva profile image
Marko Shiva

A JavaScript error occurred in the main process
Uncaught Exception:
Error:
Something went wrong installing the "sharp" module

Module did not self-register.

Collapse
 
andrewbrown profile image
Andrew Brown 🇨🇦

I spent so many hours on this.

You may need to change 0.24 in the package json to 0.23.4 , and then

rm -rf node_modules/sharp

And ensure you do the electron-rebuild setup. That might fix it.

I think once we build binaries things will be easier