Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

haxelib selfupdate won't work

Tags:

haxe

haxelib

Whenever I run haxelib selfupdate I get the following error:

Error writing file /usr/bin/haxelib. Please ensure you have write permissions. [file_open,/usr/bin/haxelib]

I tried to change the owner and group of /usr /usr/bin and /usr/bin/haxelib to my own user and group to no use. I get the same error :/

If I try to run haxelib as administrator, it requires me to make a new haxelib setup (I guess it is one setup per user). Once I did the setup and ran sudo haxelib selfupdate I got the folloing error:

Error compiling haxelib client: Standard library not found

I tried to found more resources on how haxelib works and is organized to try to solve this issue but I couldn't. Could anyone explain me what I am missing? I know it is very silly but I can't get it to word.

like image 562
Fabio Picchi Avatar asked Nov 10 '22 17:11

Fabio Picchi


1 Answers

Since commit the command haxelib selfupdate is deprecated and will be removed in future. There more changes.

Use haxelib --global update haxelib instead.

like image 199
Alex Koz. Avatar answered Nov 28 '22 12:11

Alex Koz.