在通过circleci为我的电子应用程序实现ci/cd管道时,我遇到了这个错误
Exit code: ENOENT. spawn prlctl ENOENT failedTask=build stackTrace=Error: Exit code: ENOENT. spawn prlctl ENOENT
at /root/project/node_modules/builder-util/src/util.ts:133:18
at exithandler (node:child_process:430:5)
at ChildProcess.errorhandler (node:child_process:442:5)
at ChildProcess.emit (node:events:514:28)
at Process.ChildProcess._handle.onexit (node:internal/child_process:292:12)
at onErrorNT (node:internal/child_process:484:16)
at processTicksAndRejections (node:internal/process/task_queues:82:21)
From previous event:
at processImmediate (node:internal/timers:478:21)
From previous event:
at WinPackager.signApp (/root/project/node_modules/app-builder-lib/src/winPackager.ts:384:27)
at WinPackager.doSignAfterPack (/root/project/node_modules/app-builder-lib/src/platformPackager.ts:332:32)
at WinPackager.doPack (/root/project/node_modules/app-builder-lib/src/platformPackager.ts:317:7)
at WinPackager.pack (/root/project/node_modules/app-builder-lib/src/platformPackager.ts:136:5)
at Packager.doBuild (/root/project/node_modules/app-builder-lib/src/packager.ts:442:9)
at executeFinally (/root/project/node_modules/builder-util/src/promise.ts:12:14)
at Packager._build (/root/project/node_modules/app-builder-lib/src/packager.ts:376:31)
at Packager.build (/root/project/node_modules/app-builder-lib/src/packager.ts:337:12)
at executeFinally (/root/project/node_modules/builder-util/src/promise.ts:12:14)
字符串
使用代码退出状态1 enter image description here进行验证
任何人都可以帮助我为什么我得到这个错误,我得到这个错误,只有当我试图构建Windows文件,但我的Mac构建得到部署罚款。
1条答案
按热度按时间am46iovg1#
在切换到circleci windows orbs而不是electron-builder提供的docker镜像后,我能够解决这个错误(electronuserland/builder:wine)