{"action":"created","issue":{"url":"https://api.github.com/repos/typicode/husky/issues/39","repository_url":"https://api.github.com/repos/typicode/husky","labels_url":"https://api.github.com/repos/typicode/husky/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/typicode/husky/issues/39/comments","events_url":"https://api.github.com/repos/typicode/husky/issues/39/events","html_url":"https://github.com/typicode/husky/pull/39","id":135079528,"number":39,"title":"Fix bin scripts to use proper nodejs binary","user":{"login":"narqo","id":88045,"avatar_url":"https://avatars.githubusercontent.com/u/88045?v=3","gravatar_id":"","url":"https://api.github.com/users/narqo","html_url":"https://github.com/narqo","followers_url":"https://api.github.com/users/narqo/followers","following_url":"https://api.github.com/users/narqo/following{/other_user}","gists_url":"https://api.github.com/users/narqo/gists{/gist_id}","starred_url":"https://api.github.com/users/narqo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/narqo/subscriptions","organizations_url":"https://api.github.com/users/narqo/orgs","repos_url":"https://api.github.com/users/narqo/repos","events_url":"https://api.github.com/users/narqo/events{/privacy}","received_events_url":"https://api.github.com/users/narqo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-02-20T14:14:20Z","updated_at":"2016-02-28T14:16:54Z","closed_at":"2016-02-23T10:01:17Z","pull_request":{"url":"https://api.github.com/repos/typicode/husky/pulls/39","html_url":"https://github.com/typicode/husky/pull/39","diff_url":"https://github.com/typicode/husky/pull/39.diff","patch_url":"https://github.com/typicode/husky/pull/39.patch"},"body":"There is no guaranty that `node` binary is present in the user's path during module installation. It's a common practise to use `/usr/bin/env node`, so call `/opt/nodejs/5/bin/node /opt/nodejs/5/bin/npm install` could work.\r\n\r\nUnfortunately, I don't have any Windows experience and no possibility to test that. So it'd be awesome if anybody could verify everything still works on Windows."},"comment":{"url":"https://api.github.com/repos/typicode/husky/issues/comments/189881744","html_url":"https://github.com/typicode/husky/pull/39#issuecomment-189881744","issue_url":"https://api.github.com/repos/typicode/husky/issues/39","id":189881744,"user":{"login":"typicode","id":5502029,"avatar_url":"https://avatars.githubusercontent.com/u/5502029?v=3","gravatar_id":"","url":"https://api.github.com/users/typicode","html_url":"https://github.com/typicode","followers_url":"https://api.github.com/users/typicode/followers","following_url":"https://api.github.com/users/typicode/following{/other_user}","gists_url":"https://api.github.com/users/typicode/gists{/gist_id}","starred_url":"https://api.github.com/users/typicode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/typicode/subscriptions","organizations_url":"https://api.github.com/users/typicode/orgs","repos_url":"https://api.github.com/users/typicode/repos","events_url":"https://api.github.com/users/typicode/events{/privacy}","received_events_url":"https://api.github.com/users/typicode/received_events","type":"User","site_admin":false},"created_at":"2016-02-28T14:16:54Z","updated_at":"2016-02-28T14:16:54Z","body":"I think for the moment it's better to keep it simple.\r\n\r\nAlso regarding the original issue, if `npm` is running, actually I can't see how `node` wouldn't be in the `PATH`. Except if someone reports an issue let's keep it the way it is.\r\n\r\nYou're right appveyor is useful but I feel that the project is simple enough (and won't change that much) to add it for the moment. That said, I'm using it for [hotel](https://github.com/typicode/hotel) and I'm pretty happy with it :)."}}