{"action":"created","issue":{"url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/4737","labels_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/4737/labels{/name}","comments_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/4737/comments","events_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/4737/events","html_url":"https://github.com/HaxeFoundation/haxe/issues/4737","id":123581391,"number":4737,"title":"Error Setting Up Lime And OpenFL","user":{"login":"samncrowley","id":16401518,"avatar_url":"https://avatars.githubusercontent.com/u/16401518?v=3","gravatar_id":"","url":"https://api.github.com/users/samncrowley","html_url":"https://github.com/samncrowley","followers_url":"https://api.github.com/users/samncrowley/followers","following_url":"https://api.github.com/users/samncrowley/following{/other_user}","gists_url":"https://api.github.com/users/samncrowley/gists{/gist_id}","starred_url":"https://api.github.com/users/samncrowley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samncrowley/subscriptions","organizations_url":"https://api.github.com/users/samncrowley/orgs","repos_url":"https://api.github.com/users/samncrowley/repos","events_url":"https://api.github.com/users/samncrowley/events{/privacy}","received_events_url":"https://api.github.com/users/samncrowley/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-23T00:33:39Z","updated_at":"2015-12-23T01:34:32Z","closed_at":"2015-12-23T01:34:32Z","body":"So I've just been trying out HaxeFlixel for the first time today and have not been able to resolve this...\r\n\r\nI'm running Mac OS X El Capitan and when following the setup instructions, `haxelib install lime` works perfectly fine and it all installs fine, but when I run `haxelib run lime setup` I get this error:\r\n```\r\nCalled from ? line 1\r\nCalled from CommandLineTools.hx line 1385\r\nCalled from CommandLineTools.hx line 25\r\nCalled from a C function\r\nCalled from CommandLineTools.hx line 64\r\nCalled from CommandLineTools.hx line 1082\r\nCalled from /usr/lib/haxe/std/neko/_std/sys/io/File.hx line 30\r\nUncaught exception - [file_contents,/haxelib.json]\r\n```\r\n\r\nAlso when running some of the commands I get:\r\n`This is the first time you are runing haxelib. Please run haxelib setup first`\r\n\r\nUpon running `haxelib setup` I try to set the default directory by pressing enter, which just gives this error:\r\n`Failed to create directory '/usr/lib/haxelib' (std@sys_create_dir), maybe you need appropriate user rights\r\nCheck also that the parent directory exists`\r\n\r\nI am completely new to Haxe and really don't have a clue as to what's going on. Any ideas?"},"comment":{"url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/comments/166774074","html_url":"https://github.com/HaxeFoundation/haxe/issues/4737#issuecomment-166774074","issue_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/4737","id":166774074,"user":{"login":"nadako","id":49749,"avatar_url":"https://avatars.githubusercontent.com/u/49749?v=3","gravatar_id":"","url":"https://api.github.com/users/nadako","html_url":"https://github.com/nadako","followers_url":"https://api.github.com/users/nadako/followers","following_url":"https://api.github.com/users/nadako/following{/other_user}","gists_url":"https://api.github.com/users/nadako/gists{/gist_id}","starred_url":"https://api.github.com/users/nadako/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nadako/subscriptions","organizations_url":"https://api.github.com/users/nadako/orgs","repos_url":"https://api.github.com/users/nadako/repos","events_url":"https://api.github.com/users/nadako/events{/privacy}","received_events_url":"https://api.github.com/users/nadako/received_events","type":"User","site_admin":false},"created_at":"2015-12-23T01:34:32Z","updated_at":"2015-12-23T01:34:32Z","body":"You may want to report this to the OpenFL/Lime repository, because that looks like a bug in their command-line tools.\r\n\r\nBut anyway, this is probably related to the fact haxelib repository location isn't set up indeed, so you really need to do `haxelib setup` first. The error you get when doing `haxelib setup` most likely means that you're trying to use that directory without root rights (hence the \"maybe you need appropriate user rights\" message). Try specifying some path in your home directory, or run `haxelib setup` as root (I wouldn't do that though)."}}