{"action":"created","issue":{"url":"https://api.github.com/repos/gajus/gitdown/issues/40","repository_url":"https://api.github.com/repos/gajus/gitdown","labels_url":"https://api.github.com/repos/gajus/gitdown/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/gajus/gitdown/issues/40/comments","events_url":"https://api.github.com/repos/gajus/gitdown/issues/40/events","html_url":"https://github.com/gajus/gitdown/issues/40","id":143549398,"number":40,"title":"Cannot find module 'url-extractor'","user":{"login":"anomalyst","id":6668265,"avatar_url":"https://avatars.githubusercontent.com/u/6668265?v=3","gravatar_id":"","url":"https://api.github.com/users/anomalyst","html_url":"https://github.com/anomalyst","followers_url":"https://api.github.com/users/anomalyst/followers","following_url":"https://api.github.com/users/anomalyst/following{/other_user}","gists_url":"https://api.github.com/users/anomalyst/gists{/gist_id}","starred_url":"https://api.github.com/users/anomalyst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anomalyst/subscriptions","organizations_url":"https://api.github.com/users/anomalyst/orgs","repos_url":"https://api.github.com/users/anomalyst/repos","events_url":"https://api.github.com/users/anomalyst/events{/privacy}","received_events_url":"https://api.github.com/users/anomalyst/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-03-25T17:35:18Z","updated_at":"2016-03-30T15:43:03Z","closed_at":null,"body":"Please update README to handhold n00bs thru installing pre-requisites.\r\nI am evidently missing some subtle aspect of installing gitdown/\r\nYou can reproduce the issue as follows:\r\n```bash\r\n$ sudo npm install gitdown -g\r\n$ wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.23.2/install.sh | bash\r\n$ nvm install iojs\r\n$ npm install url-extractor\r\n$ gitdown ./foo.gd --output-file ./foo.md\r\nError: Cannot find module 'url-extractor'\r\n$ cat foo.gd \r\n{\"gitdown\": \"include\", \"file\": \" \"./wheeler.sh\"}\r\ncat wheeler.sh\r\n#!/bin/sh\r\n#\r\n#       wheeler.sh\r\n#       add wheel group to acl\r\n#\r\nif [ $UID -ne 0 ]; then\r\n    echo \"Superuser/root privileges are required to run this script.\"\r\n    echo \"e.g. \\\"sudo $0\\\"\"\r\n    exit 1\r\nfi\r\nchgrp -R wheel $1\r\nchmod -R g+rwx $1\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/gajus/gitdown/issues/comments/203496029","html_url":"https://github.com/gajus/gitdown/issues/40#issuecomment-203496029","issue_url":"https://api.github.com/repos/gajus/gitdown/issues/40","id":203496029,"user":{"login":"bbohling","id":98033,"avatar_url":"https://avatars.githubusercontent.com/u/98033?v=3","gravatar_id":"","url":"https://api.github.com/users/bbohling","html_url":"https://github.com/bbohling","followers_url":"https://api.github.com/users/bbohling/followers","following_url":"https://api.github.com/users/bbohling/following{/other_user}","gists_url":"https://api.github.com/users/bbohling/gists{/gist_id}","starred_url":"https://api.github.com/users/bbohling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbohling/subscriptions","organizations_url":"https://api.github.com/users/bbohling/orgs","repos_url":"https://api.github.com/users/bbohling/repos","events_url":"https://api.github.com/users/bbohling/events{/privacy}","received_events_url":"https://api.github.com/users/bbohling/received_events","type":"User","site_admin":false},"created_at":"2016-03-30T15:43:03Z","updated_at":"2016-03-30T15:43:03Z","body":"Test this yourself:\r\n\r\n```shell\r\nnpm install url-extractor\r\n```\r\n\r\nThen look in the **node_modules/url-extractor** directory...there is no JavaScript file."}}