Lime completion setup failed. But lime works fine?

Did you happen to install the lix package manager? I found this similar thread with the error about haxelib run-dir, with a possible solution:

When I try to run haxelib run-dir on my computer, it says that the run-dir command doesn’t exist. I don’t have lix installed on my computer, so I’m guessing that run-dir is a special extra command in lix’s version of the haxelib executable.