{"action":"created","issue":{"url":"https://api.github.com/repos/handshake-org/hs-miner/issues/5","repository_url":"https://api.github.com/repos/handshake-org/hs-miner","labels_url":"https://api.github.com/repos/handshake-org/hs-miner/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/handshake-org/hs-miner/issues/5/comments","events_url":"https://api.github.com/repos/handshake-org/hs-miner/issues/5/events","html_url":"https://github.com/handshake-org/hs-miner/issues/5","id":347975013,"node_id":"MDU6SXNzdWUzNDc5NzUwMTM=","number":5,"title":"Error: Cannot find module 'nan'","user":{"login":"lanodan","id":3816428,"node_id":"MDQ6VXNlcjM4MTY0Mjg=","avatar_url":"https://avatars3.githubusercontent.com/u/3816428?v=4","gravatar_id":"","url":"https://api.github.com/users/lanodan","html_url":"https://github.com/lanodan","followers_url":"https://api.github.com/users/lanodan/followers","following_url":"https://api.github.com/users/lanodan/following{/other_user}","gists_url":"https://api.github.com/users/lanodan/gists{/gist_id}","starred_url":"https://api.github.com/users/lanodan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lanodan/subscriptions","organizations_url":"https://api.github.com/users/lanodan/orgs","repos_url":"https://api.github.com/users/lanodan/repos","events_url":"https://api.github.com/users/lanodan/events{/privacy}","received_events_url":"https://api.github.com/users/lanodan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-06T15:35:31Z","updated_at":"2018-09-06T03:07:55Z","closed_at":null,"author_association":"NONE","body":"As you can see hs-miner fails to build.\r\n\r\n```\r\n$ make\r\n\r\n> hs-miner@0.0.2 install-main /seagate/sources/git/github.com/handshake-org/hs-miner\r\n> ./scripts/rebuild main\r\n\r\n++ test -z ''\r\n++ echo g++\r\n+ CXX=g++\r\n++ ./scripts/get endian\r\n+ ENDIAN=little\r\n++ ./scripts/get cuda_has\r\n+ CUDA_HAS=0\r\n++ ./scripts/get nvcc\r\n+ NVCC=/opt/cuda/bin/nvcc\r\n++ ./scripts/get bits\r\n+ BITS=29\r\n++ ./scripts/get size\r\n+ SIZE=42\r\n++ ./scripts/get perc\r\n+ PERC=50\r\n++ ./scripts/get network\r\n+ NETWORK=main\r\n++ test little = little\r\n++ echo -DHS_LITTLE_ENDIAN\r\n+ DENDIAN=-DHS_LITTLE_ENDIAN\r\n+ test 0 -eq 1\r\n+ rm -f src/device.a\r\n+ rm -f src/mean-cuda.a\r\n+ rm -f src/lean-cuda.a\r\n+ node-gyp rebuild\r\nmodule.js:487\r\n    throw err;\r\n    ^\r\n\r\nError: Cannot find module 'nan'\r\n    at Function.Module._resolveFilename (module.js:485:15)\r\n    at Function.Module._load (module.js:437:25)\r\n    at Module.require (module.js:513:17)\r\n    at require (internal/module.js:11:18)\r\n    at [eval]:1:1\r\n    at ContextifyScript.Script.runInThisContext (vm.js:44:33)\r\n    at Object.runInThisContext (vm.js:116:38)\r\n    at Object.<anonymous> ([eval]-wrapper:6:22)\r\n    at Module._compile (module.js:569:30)\r\n    at evalScript (bootstrap_node.js:432:27)\r\ngyp: Call to 'node -e \"require('nan')\"' returned exit status 1 while in binding.gyp. 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/lib64/node_modules/npm/node_modules/node-gyp/lib/configure.js:336:16)\r\ngyp ERR! stack     at emitTwo (events.js:125:13)\r\ngyp ERR! stack     at ChildProcess.emit (events.js:213:7)\r\ngyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:197:12)\r\ngyp ERR! System Linux 4.14.47-gentoo\r\ngyp ERR! command \"/usr/bin/node\" \"/usr/lib64/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"\r\ngyp ERR! cwd /seagate/sources/git/github.com/handshake-org/hs-miner\r\ngyp ERR! node -v v8.1.1\r\ngyp ERR! node-gyp -v v3.6.2\r\ngyp ERR! not ok \r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! errno 1\r\nnpm ERR! hs-miner@0.0.2 install-main: `./scripts/rebuild main`\r\nnpm ERR! Exit status 1\r\nnpm ERR! \r\nnpm ERR! Failed at the hs-miner@0.0.2 install-main script.\r\nnpm ERR! This is probably not a problem with npm. There is likely additional logging output above.\r\nnpm WARN Local package.json exists, but node_modules missing, did you mean to install?\r\n\r\nnpm ERR! A complete log of this run can be found in:\r\nnpm ERR!     /home/haelwenn/.npm/_logs/2018-08-06T15_29_53_598Z-debug.log\r\n\r\nmake: *** [Makefile:2: all] Fehler 1\r\n```\r\n\r\n```\r\n$ node --version\r\nv8.1.1\r\n$ npm --version\r\n5.0.3\r\n```\r\n\r\n* [/home/haelwenn/.npm/_logs/2018-08-06T15_29_53_598Z-debug.log](https://github.com/handshake-org/hs-miner/files/2263123/2018-08-06T15_29_53_598Z-debug.log)"},"comment":{"url":"https://api.github.com/repos/handshake-org/hs-miner/issues/comments/418949558","html_url":"https://github.com/handshake-org/hs-miner/issues/5#issuecomment-418949558","issue_url":"https://api.github.com/repos/handshake-org/hs-miner/issues/5","id":418949558,"node_id":"MDEyOklzc3VlQ29tbWVudDQxODk0OTU1OA==","user":{"login":"lanodan","id":3816428,"node_id":"MDQ6VXNlcjM4MTY0Mjg=","avatar_url":"https://avatars3.githubusercontent.com/u/3816428?v=4","gravatar_id":"","url":"https://api.github.com/users/lanodan","html_url":"https://github.com/lanodan","followers_url":"https://api.github.com/users/lanodan/followers","following_url":"https://api.github.com/users/lanodan/following{/other_user}","gists_url":"https://api.github.com/users/lanodan/gists{/gist_id}","starred_url":"https://api.github.com/users/lanodan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lanodan/subscriptions","organizations_url":"https://api.github.com/users/lanodan/orgs","repos_url":"https://api.github.com/users/lanodan/repos","events_url":"https://api.github.com/users/lanodan/events{/privacy}","received_events_url":"https://api.github.com/users/lanodan/received_events","type":"User","site_admin":false},"created_at":"2018-09-06T03:07:55Z","updated_at":"2018-09-06T03:07:55Z","author_association":"NONE","body":"It’s probably lacking something like ``npm install`` in the installation.\r\nI quickly glanced at ``package.json`` and nan is in it."}}
{"actor":{"display_login":"lanodan"}}