{"action":"created","issue":{"url":"https://api.github.com/repos/bitpay/bitcore-node/issues/297","labels_url":"https://api.github.com/repos/bitpay/bitcore-node/issues/297/labels{/name}","comments_url":"https://api.github.com/repos/bitpay/bitcore-node/issues/297/comments","events_url":"https://api.github.com/repos/bitpay/bitcore-node/issues/297/events","html_url":"https://github.com/bitpay/bitcore-node/issues/297","id":110540461,"number":297,"title":"Error: Cannot find module 'bn.js'","user":{"login":"cevin","id":338110,"avatar_url":"https://avatars.githubusercontent.com/u/338110?v=3","gravatar_id":"","url":"https://api.github.com/users/cevin","html_url":"https://github.com/cevin","followers_url":"https://api.github.com/users/cevin/followers","following_url":"https://api.github.com/users/cevin/following{/other_user}","gists_url":"https://api.github.com/users/cevin/gists{/gist_id}","starred_url":"https://api.github.com/users/cevin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cevin/subscriptions","organizations_url":"https://api.github.com/users/cevin/orgs","repos_url":"https://api.github.com/users/cevin/repos","events_url":"https://api.github.com/users/cevin/events{/privacy}","received_events_url":"https://api.github.com/users/cevin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-08T21:02:26Z","updated_at":"2015-10-08T21:10:16Z","closed_at":null,"body":"```\r\n> bitcore-node@0.2.0-dev start /data/bitcore-node\r\n> node bin/start.js\r\n\r\nmodule.js:338\r\n    throw err;\r\n    ^\r\n\r\nError: Cannot find module 'bn.js'\r\n    at Function.Module._resolveFilename (module.js:336:15)\r\n    at Function.Module._load (module.js:286:25)\r\n    at Module.require (module.js:365:17)\r\n    at require (module.js:384:17)\r\n    at Object.<anonymous> (/data/bitcore-node/node_modules/bitcore/lib/crypto/bn.js:3:10)\r\n    at Module._compile (module.js:434:26)\r\n    at Object.Module._extensions..js (module.js:452:10)\r\n    at Module.load (module.js:355:32)\r\n    at Function.Module._load (module.js:310:12)\r\n    at Module.require (module.js:365:17)\r\n\r\nnpm ERR! Linux 3.13.0-65-generic\r\nnpm ERR! argv \"/usr/local/bin/node\" \"/usr/bin/npm\" \"start\"\r\nnpm ERR! node v4.1.2\r\nnpm ERR! npm  v2.14.4\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! bitcore-node@0.2.0-dev start: `node bin/start.js`\r\nnpm ERR! Exit status 1\r\nnpm ERR! \r\nnpm ERR! Failed at the bitcore-node@0.2.0-dev start script 'node bin/start.js'.\r\nnpm ERR! This is most likely a problem with the bitcore-node package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     node bin/start.js\r\nnpm ERR! You can get their info via:\r\nnpm ERR!     npm owner ls bitcore-node\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!     /data/bitcore-node/npm-debug.log\r\n```\r\n\r\nfrom node-v4"},"comment":{"url":"https://api.github.com/repos/bitpay/bitcore-node/issues/comments/146685942","html_url":"https://github.com/bitpay/bitcore-node/issues/297#issuecomment-146685942","issue_url":"https://api.github.com/repos/bitpay/bitcore-node/issues/297","id":146685942,"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-10-08T21:10:16Z","updated_at":"2015-10-08T21:10:16Z","body":"It's likely that you don't have dependencies installed. \r\n\r\nIt's not clear how you're installing, however if you've git cloned, make sure to checkout the tag `v0.2.0-beta.10` and run `npm install` within the cloned project, or if you would like to compile from source use the build documentation: https://github.com/bitpay/bitcore-node/blob/master/docs/build.md\r\n\r\nOtherwise you can see the documentation on getting started: https://github.com/bitpay/bitcore-node#install"}}