0

我有一个电子应用程序,但未能electron-builder在 Ubuntu 中运行。我使用的电子生成器版本是"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)
4

1 回答 1

0

直接的问题是 xorriso 无法创建结果文件

/home/developer/jenkins/dist/@southbanksoftware/dbkoda-0.6.0-x86_64.AppImage

因为目录

/home/developer/jenkins/dist/@southbanksoftware

不存在。

我不知道为什么没有准备好目录以及它的名称是否合适。我认为这是电子制造商的责任。

祝你今天过得愉快 :)

托马斯

于 2017-07-22T14:46:33.263 回答