DEV Community

Dênis Mendes
Dênis Mendes

Posted on • Edited on

Error: Electron failed to install correctly, please delete node_modules/electron and try installing again

Are you stumbling in that error message: Electron failed to install correctly, please delete node_modules/electron and try installing again - So maybe that link https://stackoverflow.com/a/56813379 can help you to solve it.

HEAPS UP! That is going to remove electron from package.json and add again but it's going to add latest version if you want another version you need to add manually electron version into package.json after npm uninstall electron and then run npm install instead of npm install electron.

Top comments (0)