{"action":"created","issue":{"url":"https://api.github.com/repos/bitpay/insight-api/issues/141","labels_url":"https://api.github.com/repos/bitpay/insight-api/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/bitpay/insight-api/issues/141/comments","events_url":"https://api.github.com/repos/bitpay/insight-api/issues/141/events","html_url":"https://github.com/bitpay/insight-api/issues/141","id":38983985,"number":141,"title":"Informative: Ubuntu 14.04 installation","user":{"login":"MarkPfennig","id":7946284,"avatar_url":"https://avatars.githubusercontent.com/u/7946284?v=3","gravatar_id":"","url":"https://api.github.com/users/MarkPfennig","html_url":"https://github.com/MarkPfennig","followers_url":"https://api.github.com/users/MarkPfennig/followers","following_url":"https://api.github.com/users/MarkPfennig/following{/other_user}","gists_url":"https://api.github.com/users/MarkPfennig/gists{/gist_id}","starred_url":"https://api.github.com/users/MarkPfennig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarkPfennig/subscriptions","organizations_url":"https://api.github.com/users/MarkPfennig/orgs","repos_url":"https://api.github.com/users/MarkPfennig/repos","events_url":"https://api.github.com/users/MarkPfennig/events{/privacy}","received_events_url":"https://api.github.com/users/MarkPfennig/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-07-29T12:35:24Z","updated_at":"2015-11-04T22:17:34Z","closed_at":"2015-11-04T22:16:26Z","body":"Some of the npm modules required by insight-api are not configured to support ubuntu 14.04 upon download. To resolve the issue and install cleanly take the following steps:\r\n\r\n    apt-get install nodejs npm nodejs-legacy\r\n    cd insight-api\r\n    npm install\r\n\r\nIf you have already tried and failed to get it working due to gyp issues, let's first clarify that Python 2.6 is not required, the default 2.7 will work fine.\r\n\r\nTo cleanly install insight-api when you have already taken some steps to try and get it set up, do the following:\r\n\r\n    apt-get install nodejs-legacy\r\n    cd insight-api\r\n    npm cache clear\r\n    rm -rf ./node_modules\r\n    git pull\r\n    npm install\r\n\r\nThis will remove all npm modules and reinstall them, after first providing legacy support to call `node` on the command line in addition to `nodejs` which the gyp module requires.\r\n\r\nI hope that helps anybody experiencing issues setting up insight-api.\r\n\r\nThank you to BitPay for this wonderful application."},"comment":{"url":"https://api.github.com/repos/bitpay/insight-api/issues/comments/153886876","html_url":"https://github.com/bitpay/insight-api/issues/141#issuecomment-153886876","issue_url":"https://api.github.com/repos/bitpay/insight-api/issues/141","id":153886876,"user":{"login":"braydonf","id":544777,"avatar_url":"https://avatars.githubusercontent.com/u/544777?v=3","gravatar_id":"","url":"https://api.github.com/users/braydonf","html_url":"https://github.com/braydonf","followers_url":"https://api.github.com/users/braydonf/followers","following_url":"https://api.github.com/users/braydonf/following{/other_user}","gists_url":"https://api.github.com/users/braydonf/gists{/gist_id}","starred_url":"https://api.github.com/users/braydonf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/braydonf/subscriptions","organizations_url":"https://api.github.com/users/braydonf/orgs","repos_url":"https://api.github.com/users/braydonf/repos","events_url":"https://api.github.com/users/braydonf/events{/privacy}","received_events_url":"https://api.github.com/users/braydonf/received_events","type":"User","site_admin":false},"created_at":"2015-11-04T22:17:34Z","updated_at":"2015-11-04T22:17:34Z","body":"You can also see the details on https://bitcore.io/guides/full-node for running with Ubuntu 14.04 with nvm."}}