Codex icon indicating copy to clipboard operation
Codex copied to clipboard

Building on M1 Mac

Open pigeontech opened this issue 2 years ago • 2 comments

Was getting this error when using npx electron-builder:

Exit code: ENOENT. spawn /usr/bin/python ENOENT failedTask=build stackTrace=Error: Exit code: ENOENT. spawn /usr/bin/python ENOENT

I fixed it by changing this block in package.json:

    "devDependencies": {
        "electron": "latest",
        "electron-builder": "latest"
    }

While I'm here, is there a way to exit a code block before and not just after? If the code block was the first thing you made, but now you want to add some text above it, how would you do that?

pigeontech avatar May 27 '22 08:05 pigeontech

No such error for me while building on a M1 Mac

williamT386 avatar Jun 25 '22 19:06 williamT386

+1 (to @williamT386's comment), built without problems

wetterkrank avatar Aug 19 '22 09:08 wetterkrank