DEV Community

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

markoshiva profile image
Marko Shiva Pavlovic

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

Module did not self-register.

andrewbrown profile image
Andrew Brown 🇨🇦 Author

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