{"action":"opened","issue":{"url":"https://api.github.com/repos/Softmotions/ejdb-node/issues/15","labels_url":"https://api.github.com/repos/Softmotions/ejdb-node/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/Softmotions/ejdb-node/issues/15/comments","events_url":"https://api.github.com/repos/Softmotions/ejdb-node/issues/15/events","html_url":"https://github.com/Softmotions/ejdb-node/issues/15","id":105168919,"number":15,"title":"install error","user":{"login":"skn2020","id":14158734,"avatar_url":"https://avatars.githubusercontent.com/u/14158734?v=3","gravatar_id":"","url":"https://api.github.com/users/skn2020","html_url":"https://github.com/skn2020","followers_url":"https://api.github.com/users/skn2020/followers","following_url":"https://api.github.com/users/skn2020/following{/other_user}","gists_url":"https://api.github.com/users/skn2020/gists{/gist_id}","starred_url":"https://api.github.com/users/skn2020/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skn2020/subscriptions","organizations_url":"https://api.github.com/users/skn2020/orgs","repos_url":"https://api.github.com/users/skn2020/repos","events_url":"https://api.github.com/users/skn2020/events{/privacy}","received_events_url":"https://api.github.com/users/skn2020/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-07T08:13:14Z","updated_at":"2015-09-07T08:13:14Z","closed_at":null,"body":"Hi,  I tried to install the CLI (node module) for EJDB (on CentOS 7, node version v0.10.36, npm version 1.3.6) using both of these commands (getting the same result):\r\n```\r\nnpm install -g ejdb\r\nnpm install --build-from-source -g ejdb\r\n```\r\nAfter several lines of successful build, I am getting the following error:\r\n```\r\nnpm http GET https://registry.npmjs.org/ejdb\r\nnpm http 304 https://registry.npmjs.org/ejdb\r\n............\r\n............\r\n............\r\nmake[1]: Leaving directory `/usr/lib/node_modules/ejdb/build-ejdb'\r\n\r\nmodule.js:340\r\n    throw err;\r\n          ^\r\nError: Cannot find module 'nan'\r\n    at Function.Module._resolveFilename (module.js:338:15)\r\n    at Function.Module._load (module.js:280:25)\r\n    at Module.require (module.js:364:17)\r\n    at require (module.js:380:17)\r\n    at [eval]:1:1\r\n    at Object.<anonymous> ([eval]-wrapper:6:22)\r\n    at Module._compile (module.js:456:26)\r\n    at evalScript (node.js:559:25)\r\n    at startup (node.js:80:7)\r\n    at node.js:929:3\r\ngyp: Call to 'node -e \"require('nan')\"' returned exit status 8. while trying to load binding.gyp\r\ngyp ERR! configure error \r\ngyp ERR! stack Error: `gyp` failed with exit code: 1\r\ngyp ERR! stack     at ChildProcess.onCpExit (/usr/lib/node_modules/node-gyp/lib/configure.js:428:16)\r\ngyp ERR! stack     at ChildProcess.emit (events.js:98:17)\r\ngyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:820:12)\r\ngyp ERR! System Linux 3.10.0-123.el7.x86_64\r\ngyp ERR! command \"node\" \"/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"\r\ngyp ERR! cwd /usr/lib/node_modules/ejdb\r\ngyp ERR! node -v v0.10.36\r\ngyp ERR! node-gyp -v v0.10.6\r\ngyp ERR! not ok \r\nnode-gyp process exited with code 1\r\nnpm ERR! weird error 1\r\nnpm ERR! not ok code 0\r\n```\r\n\r\nPlease help. Thanks.\r\n"}}