{"action":"created","issue":{"url":"https://api.github.com/repos/azproduction/node-mc/issues/3","labels_url":"https://api.github.com/repos/azproduction/node-mc/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/azproduction/node-mc/issues/3/comments","events_url":"https://api.github.com/repos/azproduction/node-mc/issues/3/events","html_url":"https://github.com/azproduction/node-mc/issues/3","id":93820735,"number":3,"title":"/usr/bin/env: node --harmony: No such file or directory","user":{"login":"fetchak","id":7650195,"avatar_url":"https://avatars.githubusercontent.com/u/7650195?v=3","gravatar_id":"","url":"https://api.github.com/users/fetchak","html_url":"https://github.com/fetchak","followers_url":"https://api.github.com/users/fetchak/followers","following_url":"https://api.github.com/users/fetchak/following{/other_user}","gists_url":"https://api.github.com/users/fetchak/gists{/gist_id}","starred_url":"https://api.github.com/users/fetchak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fetchak/subscriptions","organizations_url":"https://api.github.com/users/fetchak/orgs","repos_url":"https://api.github.com/users/fetchak/repos","events_url":"https://api.github.com/users/fetchak/events{/privacy}","received_events_url":"https://api.github.com/users/fetchak/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-08T15:35:15Z","updated_at":"2015-07-08T19:13:30Z","closed_at":"2015-07-08T19:13:30Z","body":"According to [this](https://bbs.archlinux.org/viewtopic.php?pid=1313972#p1313972), Linux is particular about its shebangs.\r\n\r\n```\r\n$ npm run debug\r\n\r\n> node-mc@0.2.1 debug /home/user/src/node-mc\r\n> NODE_ENV=development ./bin/nmc --client 'Google Chrome' --wait-on-disconnect --client-show-stats --client-mutation-observer --client-scale='5,7'\r\n\r\n/usr/bin/env: node --harmony: No such file or directory\r\n\r\nnpm ERR! Linux 3.5.0-26-generic\r\nnpm ERR! argv \"/usr/bin/node\" \"/usr/bin/npm\" \"run\" \"debug\"\r\nnpm ERR! node v0.12.5\r\nnpm ERR! npm  v2.11.2\r\nnpm ERR! file sh\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! errno ENOENT\r\nnpm ERR! syscall spawn\r\nnpm ERR! node-mc@0.2.1 debug: `NODE_ENV=development ./bin/nmc --client 'Google Chrome' --wait-on-disconnect --client-show-stats --client-mutation-observer --client-scale='5,7'`\r\nnpm ERR! spawn ENOENT\r\nnpm ERR! \r\nnpm ERR! Failed at the node-mc@0.2.1 debug script 'NODE_ENV=development ./bin/nmc --client 'Google Chrome' --wait-on-disconnect --client-show-stats --client-mutation-observer --client-scale='5,7''.\r\nnpm ERR! This is most likely a problem with the node-mc package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     NODE_ENV=development ./bin/nmc --client 'Google Chrome' --wait-on-disconnect --client-show-stats --client-mutation-observer --client-scale='5,7'\r\nnpm ERR! You can get their info via:\r\nnpm ERR!     npm owner ls node-mc\r\nnpm ERR! There is likely additional logging output above.\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     /home/user/src/node-mc/npm-debug.log\r\n```\r\n\r\nThis fixes it for me:\r\n```diff\r\ndiff --git a/bin/nmc b/bin/nmc\r\nindex c4071c2..206aab6 100755\r\n--- a/bin/nmc\r\n+++ b/bin/nmc\r\n@@ -1,4 +1,4 @@\r\n-#!/usr/bin/env node --harmony\r\n+#!/usr/bin/node --harmony\r\n var NodeMc = require('../server');\r\n \r\n new NodeMc(process);\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/azproduction/node-mc/issues/comments/119699953","html_url":"https://github.com/azproduction/node-mc/issues/3#issuecomment-119699953","issue_url":"https://api.github.com/repos/azproduction/node-mc/issues/3","id":119699953,"user":{"login":"azproduction","id":483865,"avatar_url":"https://avatars.githubusercontent.com/u/483865?v=3","gravatar_id":"","url":"https://api.github.com/users/azproduction","html_url":"https://github.com/azproduction","followers_url":"https://api.github.com/users/azproduction/followers","following_url":"https://api.github.com/users/azproduction/following{/other_user}","gists_url":"https://api.github.com/users/azproduction/gists{/gist_id}","starred_url":"https://api.github.com/users/azproduction/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azproduction/subscriptions","organizations_url":"https://api.github.com/users/azproduction/orgs","repos_url":"https://api.github.com/users/azproduction/repos","events_url":"https://api.github.com/users/azproduction/events{/privacy}","received_events_url":"https://api.github.com/users/azproduction/received_events","type":"User","site_admin":false},"created_at":"2015-07-08T19:13:30Z","updated_at":"2015-07-08T19:13:30Z","body":"Thanks for reporting. Fixed `node-mc@0.2.2`"}}