{"action":"created","issue":{"url":"https://api.github.com/repos/hokaccha/nodebrew/issues/48","labels_url":"https://api.github.com/repos/hokaccha/nodebrew/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/hokaccha/nodebrew/issues/48/comments","events_url":"https://api.github.com/repos/hokaccha/nodebrew/issues/48/events","html_url":"https://github.com/hokaccha/nodebrew/issues/48","id":116351988,"number":48,"title":"Warning: failed to create the file.","user":{"login":"MikeBarnhardt","id":2816413,"avatar_url":"https://avatars.githubusercontent.com/u/2816413?v=3","gravatar_id":"","url":"https://api.github.com/users/MikeBarnhardt","html_url":"https://github.com/MikeBarnhardt","followers_url":"https://api.github.com/users/MikeBarnhardt/followers","following_url":"https://api.github.com/users/MikeBarnhardt/following{/other_user}","gists_url":"https://api.github.com/users/MikeBarnhardt/gists{/gist_id}","starred_url":"https://api.github.com/users/MikeBarnhardt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikeBarnhardt/subscriptions","organizations_url":"https://api.github.com/users/MikeBarnhardt/orgs","repos_url":"https://api.github.com/users/MikeBarnhardt/repos","events_url":"https://api.github.com/users/MikeBarnhardt/events{/privacy}","received_events_url":"https://api.github.com/users/MikeBarnhardt/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-11T15:03:52Z","updated_at":"2015-11-11T15:08:15Z","closed_at":"2015-11-11T15:08:15Z","body":"I've added the `$PATH` and `$NODEBREW_ROOT` variable to my `~/.zshrc` config and when I use the command `nodebrew install-binary 0.12.x` it fails:\r\n\r\n```\r\nfetch: http://nodejs.org/dist/v0.12.7/node-v0.12.7-darwin-x64.tar.gz\r\nWarning: Failed to create the file\r\nWarning: /usr/local/var/nodebrew/src/v0.12.7/node-v0.12.7-darwin-x64.tar.gz:\r\nWarning: No such file or directory\r\n\r\ncurl: (23) Failed writing body (0 != 3599)\r\ndownload faild: http://nodejs.org/dist/v0.12.7/node-v0.12.7-darwin-x64.tar.gz\r\n```\r\n\r\nIf I `echo $PATH` I get `/Users/Mike/.nodebrew/current/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin` and `echo $NODEBREW_ROOT` gets `/usr/local/var/nodebrew`.\r\n\r\nInstalled with brew: `brew install nodebrew`. `sudo` gives the same results."},"comment":{"url":"https://api.github.com/repos/hokaccha/nodebrew/issues/comments/155807016","html_url":"https://github.com/hokaccha/nodebrew/issues/48#issuecomment-155807016","issue_url":"https://api.github.com/repos/hokaccha/nodebrew/issues/48","id":155807016,"user":{"login":"MikeBarnhardt","id":2816413,"avatar_url":"https://avatars.githubusercontent.com/u/2816413?v=3","gravatar_id":"","url":"https://api.github.com/users/MikeBarnhardt","html_url":"https://github.com/MikeBarnhardt","followers_url":"https://api.github.com/users/MikeBarnhardt/followers","following_url":"https://api.github.com/users/MikeBarnhardt/following{/other_user}","gists_url":"https://api.github.com/users/MikeBarnhardt/gists{/gist_id}","starred_url":"https://api.github.com/users/MikeBarnhardt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikeBarnhardt/subscriptions","organizations_url":"https://api.github.com/users/MikeBarnhardt/orgs","repos_url":"https://api.github.com/users/MikeBarnhardt/repos","events_url":"https://api.github.com/users/MikeBarnhardt/events{/privacy}","received_events_url":"https://api.github.com/users/MikeBarnhardt/received_events","type":"User","site_admin":false},"created_at":"2015-11-11T15:08:15Z","updated_at":"2015-11-11T15:08:15Z","body":"After manually creating the directory: `mkdir ~/.nodebrew/src` the commands work fine.\r\n\r\n(Also changed `$NODEBREW_ROOT=$HOME/.nodebrew`, but that didn't solve the issue.)"}}