{"action":"created","issue":{"url":"https://api.github.com/repos/ElementsProject/lightning-charge/issues/37","repository_url":"https://api.github.com/repos/ElementsProject/lightning-charge","labels_url":"https://api.github.com/repos/ElementsProject/lightning-charge/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/ElementsProject/lightning-charge/issues/37/comments","events_url":"https://api.github.com/repos/ElementsProject/lightning-charge/issues/37/events","html_url":"https://github.com/ElementsProject/lightning-charge/issues/37","id":320847916,"node_id":"MDU6SXNzdWUzMjA4NDc5MTY=","number":37,"title":"node-pre-gyp ERR! UNCAUGHT EXCEPTION","user":{"login":"52edc","id":35992027,"node_id":"MDQ6VXNlcjM1OTkyMDI3","avatar_url":"https://avatars1.githubusercontent.com/u/35992027?v=4","gravatar_id":"","url":"https://api.github.com/users/52edc","html_url":"https://github.com/52edc","followers_url":"https://api.github.com/users/52edc/followers","following_url":"https://api.github.com/users/52edc/following{/other_user}","gists_url":"https://api.github.com/users/52edc/gists{/gist_id}","starred_url":"https://api.github.com/users/52edc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/52edc/subscriptions","organizations_url":"https://api.github.com/users/52edc/orgs","repos_url":"https://api.github.com/users/52edc/repos","events_url":"https://api.github.com/users/52edc/events{/privacy}","received_events_url":"https://api.github.com/users/52edc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-07T15:26:04Z","updated_at":"2018-06-06T09:02:05Z","closed_at":null,"author_association":"NONE","body":"Hello \r\n\r\nc-lightning is working almost fine, I opened a few channels and made some payments. \r\n\r\nI tried to install \"lightning charge\" but no success :( Can you help?\r\n\r\n`root@vmi178998:~# sudo npm install -g lightning-charge\r\n/usr/local/bin/charged -> /usr/local/lib/node_modules/lightning-charge/bin/charged\r\n\r\n> sqlite3@4.0.0 install /usr/local/lib/node_modules/lightning-charge/node_modules/sqlite3\r\n> node-pre-gyp install --fallback-to-build\r\n\r\nnode-pre-gyp ERR! UNCAUGHT EXCEPTION\r\nnode-pre-gyp ERR! stack TypeError: Buffer.alloc is not a function\r\nnode-pre-gyp ERR! stack     at Object.<anonymous> (/usr/local/lib/node_modules/lightning-charge/node_modules/sqlite3/node_modules/tar/lib/pack.js:32:20)\r\nnode-pre-gyp ERR! stack     at Module._compile (module.js:410:26)\r\nnode-pre-gyp ERR! stack     at Object.Module._extensions..js (module.js:417:10)\r\nnode-pre-gyp ERR! stack     at Module.load (module.js:344:32)\r\nnode-pre-gyp ERR! stack     at Function.Module._load (module.js:301:12)\r\nnode-pre-gyp ERR! stack     at Module.require (module.js:354:17)\r\nnode-pre-gyp ERR! stack     at require (internal/module.js:12:17)\r\nnode-pre-gyp ERR! stack     at Object.<anonymous> (/usr/local/lib/node_modules/lightning-charge/node_modules/sqlite3/node_modules/tar/lib/create.js:6:14)\r\nnode-pre-gyp ERR! stack     at Module._compile (module.js:410:26)\r\nnode-pre-gyp ERR! stack     at Object.Module._extensions..js (module.js:417:10)\r\nnode-pre-gyp ERR! System Linux 4.4.0-121-generic\r\nnode-pre-gyp ERR! command \"/usr/bin/nodejs\" \"/usr/local/lib/node_modules/lightning-charge/node_modules/sqlite3/node_modules/.bin/node-pre-gyp\" \"install\" \"--fallback-to-build\"\r\nnode-pre-gyp ERR! cwd /usr/local/lib/node_modules/lightning-charge/node_modules/sqlite3\r\nnode-pre-gyp ERR! node -v v4.2.6\r\nnode-pre-gyp ERR! node-pre-gyp -v v0.9.0\r\nnode-pre-gyp ERR! This is a bug in `node-pre-gyp`.\r\nnode-pre-gyp ERR! Try to update node-pre-gyp and file an issue if it does not help:\r\nnode-pre-gyp ERR!     <https://github.com/mapbox/node-pre-gyp/issues>\r\n/usr/local/lib\r\n└── (empty)\r\n\r\nnpm ERR! Linux 4.4.0-121-generic\r\nnpm ERR! argv \"/usr/bin/nodejs\" \"/usr/bin/npm\" \"install\" \"-g\" \"lightning-charge\"\r\nnpm ERR! node v4.2.6\r\nnpm ERR! npm  v3.5.2\r\nnpm ERR! code ELIFECYCLE\r\n\r\nnpm ERR! sqlite3@4.0.0 install: `node-pre-gyp install --fallback-to-build`\r\nnpm ERR! Exit status 7\r\nnpm ERR!\r\nnpm ERR! Failed at the sqlite3@4.0.0 install script 'node-pre-gyp install --fallback-to-build'.\r\nnpm ERR! Make sure you have the latest version of node.js and npm installed.\r\nnpm ERR! If you do, this is most likely a problem with the sqlite3 package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     node-pre-gyp install --fallback-to-build\r\nnpm ERR! You can get information on how to open an issue for this project with:\r\nnpm ERR!     npm bugs sqlite3\r\nnpm ERR! Or if that isn't available, you can get their info via:\r\nnpm ERR!     npm owner ls sqlite3\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!     /root/npm-debug.log\r\nnpm ERR! code 1\r\n`\r\n\r\nnpm-debug.log file here: https://pastebin.com/y7FvRBc0\r\n\r\nThank you\r\nP. "},"comment":{"url":"https://api.github.com/repos/ElementsProject/lightning-charge/issues/comments/394997790","html_url":"https://github.com/ElementsProject/lightning-charge/issues/37#issuecomment-394997790","issue_url":"https://api.github.com/repos/ElementsProject/lightning-charge/issues/37","id":394997790,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDk5Nzc5MA==","user":{"login":"shesek","id":877904,"node_id":"MDQ6VXNlcjg3NzkwNA==","avatar_url":"https://avatars0.githubusercontent.com/u/877904?v=4","gravatar_id":"","url":"https://api.github.com/users/shesek","html_url":"https://github.com/shesek","followers_url":"https://api.github.com/users/shesek/followers","following_url":"https://api.github.com/users/shesek/following{/other_user}","gists_url":"https://api.github.com/users/shesek/gists{/gist_id}","starred_url":"https://api.github.com/users/shesek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shesek/subscriptions","organizations_url":"https://api.github.com/users/shesek/orgs","repos_url":"https://api.github.com/users/shesek/repos","events_url":"https://api.github.com/users/shesek/events{/privacy}","received_events_url":"https://api.github.com/users/shesek/received_events","type":"User","site_admin":false},"created_at":"2018-06-06T09:02:05Z","updated_at":"2018-06-06T09:02:05Z","author_association":"CONTRIBUTOR","body":"What version of nodejs are you running? As mentioned on the README, Lightning Charge requires `v7.6` or newer, the lack of `Buffer.alloc()` appears to indicate `<v5.10.0`."}}
{"actor":{"display_login":"shesek"}}