{"action":"created","issue":{"url":"https://api.github.com/repos/RobotWebTools/roslibjs/issues/203","labels_url":"https://api.github.com/repos/RobotWebTools/roslibjs/issues/203/labels{/name}","comments_url":"https://api.github.com/repos/RobotWebTools/roslibjs/issues/203/comments","events_url":"https://api.github.com/repos/RobotWebTools/roslibjs/issues/203/events","html_url":"https://github.com/RobotWebTools/roslibjs/issues/203","id":111835191,"number":203,"title":"\"npm install roslib\" fails on Windows","user":{"login":"mabuchner","id":6006874,"avatar_url":"https://avatars.githubusercontent.com/u/6006874?v=3","gravatar_id":"","url":"https://api.github.com/users/mabuchner","html_url":"https://github.com/mabuchner","followers_url":"https://api.github.com/users/mabuchner/followers","following_url":"https://api.github.com/users/mabuchner/following{/other_user}","gists_url":"https://api.github.com/users/mabuchner/gists{/gist_id}","starred_url":"https://api.github.com/users/mabuchner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mabuchner/subscriptions","organizations_url":"https://api.github.com/users/mabuchner/orgs","repos_url":"https://api.github.com/users/mabuchner/repos","events_url":"https://api.github.com/users/mabuchner/events{/privacy}","received_events_url":"https://api.github.com/users/mabuchner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-16T13:46:34Z","updated_at":"2015-10-16T14:48:19Z","closed_at":null,"body":"\"npm install roslib\" fails on Windows (cmd.exe) with the following error message:\r\n```shell\r\n'sh' is not recognized as an internal or external command, operable program or batch file.\r\n\r\nnpm ERR! roslib@0.17.0 preinstall: `sh misc/check.sh`\r\nnpm ERR! Exit status 1\r\nnpm ERR!\r\nnpm ERR! Failed at the roslib@0.17.0 preinstall script.\r\n```\r\n\r\nI only get the following output using Cygwin64:\r\n```shell\r\n$ npm install --save roslib\r\n/cygdrive/c/Program Files/nodejs/npm: line 2: $'\\r': command not found                    \r\n/cygdrive/c/Program Files/nodejs/npm: line 3: dirname: command not found                  \r\n/cygdrive/c/Program Files/nodejs/npm: line 4: $'\\r': command not found                    \r\n/cygdrive/c/Program Files/nodejs/npm: line 5: syntax error near unexpected token `$'in\\r''\r\n'cygdrive/c/Program Files/nodejs/npm: line 5: `case `uname` in                            \r\n```"},"comment":{"url":"https://api.github.com/repos/RobotWebTools/roslibjs/issues/comments/148737051","html_url":"https://github.com/RobotWebTools/roslibjs/issues/203#issuecomment-148737051","issue_url":"https://api.github.com/repos/RobotWebTools/roslibjs/issues/203","id":148737051,"user":{"login":"Rayman","id":91969,"avatar_url":"https://avatars.githubusercontent.com/u/91969?v=3","gravatar_id":"","url":"https://api.github.com/users/Rayman","html_url":"https://github.com/Rayman","followers_url":"https://api.github.com/users/Rayman/followers","following_url":"https://api.github.com/users/Rayman/following{/other_user}","gists_url":"https://api.github.com/users/Rayman/gists{/gist_id}","starred_url":"https://api.github.com/users/Rayman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rayman/subscriptions","organizations_url":"https://api.github.com/users/Rayman/orgs","repos_url":"https://api.github.com/users/Rayman/repos","events_url":"https://api.github.com/users/Rayman/events{/privacy}","received_events_url":"https://api.github.com/users/Rayman/received_events","type":"User","site_admin":false},"created_at":"2015-10-16T14:48:19Z","updated_at":"2015-10-16T14:48:19Z","body":"This will be fixed in the next release (0.18). For now you can install the developement version directly from GitHub:\r\n```\r\nnpm install --save git+https://github.com/RobotWebTools/roslibjs.git#develop\r\n```"}}