Cant install openfl on linux?

[email protected] ~ $ haxelib list
openfl: [2.0.0] 3.0.0
[email protected] ~ $ haxelib run openfl setup
Called from ? line 1
Called from RunScript.hx line 50
Called from C:\HaxeToolkit\haxe\std/neko/_std/Array.hx line 291
Uncaught exception - Invalid array access
[email protected] ~ $ sudo haxelib run openfl setup
[sudo] password for meishijie:
Called from ? line 1
Called from RunScript.hx line 50
Called from C:\HaxeToolkit\haxe\std/neko/_std/Array.hx line 291
Uncaught exception - Invalid array access

how to solve this problem?

Try doing haxelib set openfl 3.0.0 and then haxelib run openfl setup

I had exactly the same problem when I tried to run haxelib on a 32-bit Arch Linux. It got resolved by upgrading to 64-bit.

If you have a problem with OpenFL 3.0 running this command, let me know the error output you get so we can take a long :slight_smile: