Error: Electron failed to install correctly, please delete node_modules/electron and try installing
今天在mac上遇到这个问题:Error: Electron failed to install correctly, please delete node_modules/electron and try installing again 。不知道为什么好奇怪,不管怎么安装electron,都是运行不了,后来在GitHub上找到解决方法了。electron错误原因是因为在npm install 的时候安装electron没有安装好,导致虽然npm install结束了,但是electron并没安装好,
原创
2020-12-18 19:38:49 ·
9600 阅读 ·
9 评论