讯飞AI开发者社区 Electron | throw new Error('Electron failed to install correctly, please delete node

Electron | throw new Error('Electron failed to install correctly, please delete node

https://github.com/electron-vite问题原因在install的时候node_modules/electron/中的文件丢失造成程序无法执行解决方案(之一)参考https://github.com/pangxieju/electron-fix登录后复制// 1.npm instal// ...

 https://github.com/electron-vite

Electron | throw new Error(

问题原因

在install的时候node_modules/electron/中的文件丢失造成程序无法执行

解决方案(之一)

参考https://github.com/pangxieju/electron-fix

// 1.
npm instal
// 2.
npm install -g electron-fix
// 3.
electron-fix start
//4.
npm run dev
  • 1.
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.

参考文章Electron failed to install correctly, please delete node_modules/electron and try installing again

 解决安装electron卡在node install.js 不动问题



原创作者: echohye 转载于: https://blog.51cto.com/echohye/11371280
Logo

技术共进,成长同行——讯飞AI开发者社区

更多推荐

  • 浏览量 421
  • 收藏 0
  • 0

所有评论(0)

查看更多评论 
已为社区贡献4条内容