问题记录 electron 安装后运行 Error: Electron failed to install correctly

281 阅读1分钟

安装electron的过程中遇到Error: Electron failed to install correctly, please delete node_modules/electron and try installing again

image.png

在node_modules中找到electron 打开命令行 执行 node install.js

image.png

重新运行