Sys_error("...") by Shahar Marcus
Sys_error
is one of the most annoying errors when compiling haxe code,
and its the error that inspired me to make this subfolder of guides 💀
So, What Exactly Is This?
On this one, were unlucky; this error is a compiler error :(
But, Don't you worry, we're gonna solve that together!
You might have noticed that this error also triggers on non-sys platforms,
such as JS and Flash. Thats because this error doesn't depend on the code you write:
Its just a file permission error...
And How Do We Solve It?
Because this error gets triggered because of file permission problems, we might want to check the
build folder's permissions. - it might block certain apps or forms of access to that folder, thus
triggering a plethora of error types, including the one you probably came here to solve -
Sys_error("bad file descriptor")
Quick Fixes:
- Move the project to another directory
- Move Git's default repository folder, if using git and the project is in the Git repositories folder