{"action":"created","issue":{"url":"https://api.github.com/repos/creationix/nvm/issues/1165","repository_url":"https://api.github.com/repos/creationix/nvm","labels_url":"https://api.github.com/repos/creationix/nvm/issues/1165/labels{/name}","comments_url":"https://api.github.com/repos/creationix/nvm/issues/1165/comments","events_url":"https://api.github.com/repos/creationix/nvm/issues/1165/events","html_url":"https://github.com/creationix/nvm/issues/1165","id":166731607,"number":1165,"title":"creating global modules","user":{"login":"joselevelsup","id":10066172,"avatar_url":"https://avatars.githubusercontent.com/u/10066172?v=3","gravatar_id":"","url":"https://api.github.com/users/joselevelsup","html_url":"https://github.com/joselevelsup","followers_url":"https://api.github.com/users/joselevelsup/followers","following_url":"https://api.github.com/users/joselevelsup/following{/other_user}","gists_url":"https://api.github.com/users/joselevelsup/gists{/gist_id}","starred_url":"https://api.github.com/users/joselevelsup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joselevelsup/subscriptions","organizations_url":"https://api.github.com/users/joselevelsup/orgs","repos_url":"https://api.github.com/users/joselevelsup/repos","events_url":"https://api.github.com/users/joselevelsup/events{/privacy}","received_events_url":"https://api.github.com/users/joselevelsup/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/creationix/nvm/labels/needs%20followup","name":"needs followup","color":"FA94FD"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2016-07-21T03:46:51Z","updated_at":"2016-07-24T18:52:52Z","closed_at":"2016-07-24T18:30:10Z","body":"So I have been trying to create a global module using node. I am using Ubuntu 14.04 and installed node using nvm. Whenever i execute my global module, i get `: No such file or directory`.\r\n\r\nMind you, if i execute `node` or `env node` or even `/usr/bin/env node` in the terminal, the node command line pops up just fine. If i install any other global modules like `ionic or cordova`, they also work fine. I use the `#!/usr/bin/env node` in my main script. Please help, I don't understand why this error keeps popping up. "},"comment":{"url":"https://api.github.com/repos/creationix/nvm/issues/comments/234794762","html_url":"https://github.com/creationix/nvm/issues/1165#issuecomment-234794762","issue_url":"https://api.github.com/repos/creationix/nvm/issues/1165","id":234794762,"user":{"login":"joselevelsup","id":10066172,"avatar_url":"https://avatars.githubusercontent.com/u/10066172?v=3","gravatar_id":"","url":"https://api.github.com/users/joselevelsup","html_url":"https://github.com/joselevelsup","followers_url":"https://api.github.com/users/joselevelsup/followers","following_url":"https://api.github.com/users/joselevelsup/following{/other_user}","gists_url":"https://api.github.com/users/joselevelsup/gists{/gist_id}","starred_url":"https://api.github.com/users/joselevelsup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joselevelsup/subscriptions","organizations_url":"https://api.github.com/users/joselevelsup/orgs","repos_url":"https://api.github.com/users/joselevelsup/repos","events_url":"https://api.github.com/users/joselevelsup/events{/privacy}","received_events_url":"https://api.github.com/users/joselevelsup/received_events","type":"User","site_admin":false},"created_at":"2016-07-24T18:52:52Z","updated_at":"2016-07-24T18:52:52Z","body":"Carriage return?"}}
{"actor":{"display_login":"joselevelsup"}}