我有一个电子申请,我在Ubuntu中无法运行electron-builder
。我使用的电子生成器版本是"electron-builder": "^19.10.0"
。
我得到了以下错误。它看似xorriso
问题,但我已将xorriso
更新为1.4.2。还有什么可能导致这个错误?
GNU xorriso 1.4.4 : RockRidge filesystem manipulator, libburnia project.
xorriso : WARNING : -volid text does not comply to ISO 9660 / ECMA 119 rules
libburn : SORRY : Neither stdio-path nor its directory exist
xorriso : FAILURE : Cannot acquire drive '/home/developer/jenkins/dist/@southbanksoftware/dbkoda-0.6.0-x86_64.AppImage'
xorriso : aborting : -abort_on 'FAILURE' encountered 'FAILURE'
GNU xorriso 1.4.4 : RockRidge filesystem manipulator, libburnia project.
xorriso : WARNING : -volid text does not comply to ISO 9660 / ECMA 119 rules
libburn : SORRY : Neither stdio-path nor its directory exist
xorriso : FAILURE : Cannot acquire drive '/home/developer/jenkins/dist/@southbanksoftware/dbkoda-0.6.0-x86_64.AppImage'
xorriso : aborting : -abort_on 'FAILURE' encountered 'FAILURE'
at /home/developer/jenkins/agent/node_modules/electron-builder-util/src/util.ts:64:16
at ChildProcess.exithandler (child_process.js:217:5)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:194:7)
at maybeClose (internal/child_process.js:899:16)
at Socket.<anonymous> (internal/child_process.js:342:11)
at emitOne (events.js:96:13)
at Socket.emit (events.js:191:7)
at Pipe._handle.close [as _onclose] (net.js:513:12)
答案 0 :(得分:0)
当前的问题是xorriso无法创建结果文件
/home/developer/jenkins/dist/@southbanksoftware/dbkoda-0.6.0-x86_64.AppImage
因为目录
/home/developer/jenkins/dist/@southbanksoftware
不存在。
为什么没有准备目录以及它的名字是否为 适当的一个是我所知道的。我会假设这个 电子建设者的责任。
度过愉快的一天:)
托马斯