Openfl run html5 command makes OSX Sierra unhappy

Using OpenFL 4.3.x , and executing the command $ openfl test htm5 or $ openfl run html5 makes the node-mac process crash on OS X Sierra.

As well the browser doesn’t launch automatically.

Any ideas?


Process: node-mac [2663]
Path: /usr/local/lib/haxe/lib/lime/3,3,0/templates/bin/node/node-mac
Identifier: node-mac
Version: ???
Code Type: X86-64 (Native)
Parent Process: neko [2651]
Responsible: node-mac [2663]
User ID: 501

Date/Time: 2016-10-14 11:35:30.276 +0200
OS Version: Mac OS X 10.12.1 (16B2548a)
Report Version: 12
Anonymous UUID: 071D4EF6-0FD6-A3C5-0D68-CD391D3E9B67

Time Awake Since Boot: 5800 seconds

System Integrity Protection: enabled

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_CRASH (SIGKILL)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Termination Reason: EXEC, [0xc] This UPX compressed binary contains an invalid Mach-O header and cannot be loaded.

I need a Mac, but I’ve been trying to hold out until Apple (presumably) refreshes things this month

Sounds like we need to replace the Node Mac binary since macOS Sierra

1 Like

I don’t have Sierra, but somebody who does told me that node-mac wasn’t working, so I asked him to download the same version from the nodejs website (v 0.10.28), and that did work. A little weird, since it’s the same version. Don’t know what the difference is, but the one from the nodejs site is a little bigger than the one packaged with lime.

Maybe they recompiled the same versions with different settings or a different compiler?