electron-build,windows平台打包过程经常报错 :
Error: C:\Users\M******_C******\AppData\Local\electron-builder\Cache\nsis\nsis-3.0.3.2\Bin\makensis.exe exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
at ChildProcess. (H:\SaveLane\node_modules\builder-util\src\util.ts:239:14)
at Object.onceWrapper (events.js:422:26)
at ChildProcess.emit (events.js:315:20)
at maybeClose (internal/child_process.js:1021:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
调查后发现 每次打包之前,打开任务管理器, 查看是否有electron进程运行, 必须全部杀掉才能正常打包
https://github.com/electron-userland/electron-builder/issues/5134
文章来源:https://www.toymoban.com/news/detail-670639.html
文章来源地址https://www.toymoban.com/news/detail-670639.html
到了这里,关于electron-build打包报错:ERR_ELECTRON_BUILDER_CANNOT_EXECUTE的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!