Search code examples
haxeopenflhaxelib

Trying to install OpenFL - haxelib returns invalid operation


I'm trying to install OpenFL in a windows system. I have already installed haxe but when I run haxelib install openfl in command prompt, haxelib returns Invalid operation(+). Any ideas about how can this problem be solved?


Solution

  • The error message is most likely related to haxelib/neko trying to add two null strings.

    I have encountered an issue before with Jenkins, since Jenkins removes HOMEDRIVE and HOMEPATH from the env-vars while doing a build. You may be encountering something similar.

    Check and make sure HOMEDRIVE and HOMEPATH are set in your current shell, the re-try haxelib. If this does not work, we'll have to narrow down further.