ziyoren / electron-vite-vue

一个简单、高效的桌面应用开发样板工程,由Electron、Vite、Vue3等组成。集成了vue devtools调试工具,方便大家开发调试。
MIT License
4 stars 1 forks source link

我尝试在mac中进行打包, 似乎必须安装Python2才能打包 #1

Open yangxinyi-bigdata opened 2 months ago

yangxinyi-bigdata commented 2 months ago

是否需要更新Electron的版本才能支持使用Python3进行打包?

Exit code: ENOENT. spawn /usr/bin/python ENOENT failedTask=build stackTrace=Error: Exit code: ENOENT. spawn /usr/bin/python ENOENT at /Users/yangxinyi/Downloads/201_临时文件夹/electron-vite-vue/node_modules/builder-util/src/util.ts:133:18 at exithandler (node:child_process:404:5) at ChildProcess.errorhandler (node:child_process:416:5) at ChildProcess.emit (node:events:390:28) at Process.ChildProcess._handle.onexit (node:internal/child_process:288:12) at onErrorNT (node:internal/child_process:477:16) at processTicksAndRejections (node:internal/process/task_queues:83:21)

ziyoren commented 2 months ago

更新到 electron-builder 23.6.0