我win10的node版本是16.15.1,用npm install 下载依赖,一直卡住。再用npm run dev启动就报这个错:
throw new Error('Electron failed to install correctly, please delete node_modules/electron and try installing again');
[0] ^
[0]
[0] Error: Electron failed to install correctly, please delete node_modules/electron and try installing again
然后用cnpm install,再npm run dev启动就可以了