Electron failed to install correctly
wenjialu opened this issue · 1 comments
-
你使用的操作系统是:macOS Big Sur
-
你使用的本软件版本号是:最新
-
请详细叙述你的问题:
npm start 后出现以下提示:
Error: Electron failed to install correctly, please delete node_modules/electron and try installing again
at getElectronPath (/Volumes/UNTITLED/BlogHelper-master/node_modules/electron/index.js:14:11)
at Object. (/Volumes/UNTITLED/BlogHelper-master/node_modules/electron/index.js:18:18)
删掉重装
npm install electron --verbose
还是一样的报错
- 用于问题复现的数据:
- 你使用的操作系统是:macOS Big Sur
- 你使用的本软件版本号是:最新
- 请详细叙述你的问题:
npm start 后出现以下提示:Error: Electron failed to install correctly, please delete node_modules/electron and try installing again
at getElectronPath (/Volumes/UNTITLED/BlogHelper-master/node_modules/electron/index.js:14:11)
at Object. (/Volumes/UNTITLED/BlogHelper-master/node_modules/electron/index.js:18:18)删掉重装
npm install electron --verbose还是一样的报错
- 用于问题复现的数据:
solved by:
npm install electron-prebuilt --save-dev