electron踩坑之Electron failed to install correctly, please delete node_modules/electron and try inst...

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

没脾气,照着官网step by step也会报错。google无果。直接降级安装,问题解决。

可能7版本对环境有什么要求吧。

执行

yarn add -D electron@6

解决

你可能感兴趣的:(electron踩坑之Electron failed to install correctly, please delete node_modules/electron and try inst...)