Cant install openfl on linux?

meishijie@meishijie-virtual-machine ~ $ haxelib list
openfl: [2.0.0] 3.0.0
meishijie@meishijie-virtual-machine ~ $ 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
meishijie@meishijie-virtual-machine ~ $ 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: