electron-build打包报错:ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
3.0.3.2\Bin\makensis.exe exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE 调查后发现 每次打包之前,打开任务管理器, 查看是否有electron进程运行, 必须全部杀掉才能正常打包。
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
更多推荐
所有评论(0)