{"action":"created","issue":{"url":"https://api.github.com/repos/shmuelzon/ble2mqtt/issues/1","repository_url":"https://api.github.com/repos/shmuelzon/ble2mqtt","labels_url":"https://api.github.com/repos/shmuelzon/ble2mqtt/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/shmuelzon/ble2mqtt/issues/1/comments","events_url":"https://api.github.com/repos/shmuelzon/ble2mqtt/issues/1/events","html_url":"https://github.com/shmuelzon/ble2mqtt/issues/1","id":189098936,"number":1,"title":"Raspberry Pi Zero Error Message","user":{"login":"rei-vilo","id":951776,"avatar_url":"https://avatars.githubusercontent.com/u/951776?v=3","gravatar_id":"","url":"https://api.github.com/users/rei-vilo","html_url":"https://github.com/rei-vilo","followers_url":"https://api.github.com/users/rei-vilo/followers","following_url":"https://api.github.com/users/rei-vilo/following{/other_user}","gists_url":"https://api.github.com/users/rei-vilo/gists{/gist_id}","starred_url":"https://api.github.com/users/rei-vilo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rei-vilo/subscriptions","organizations_url":"https://api.github.com/users/rei-vilo/orgs","repos_url":"https://api.github.com/users/rei-vilo/repos","events_url":"https://api.github.com/users/rei-vilo/events{/privacy}","received_events_url":"https://api.github.com/users/rei-vilo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-14T12:20:01Z","updated_at":"2016-11-14T13:05:43Z","closed_at":null,"body":"I've installed `ble2mqtt` on a Raspberry Pi Zero with Raspbian.\r\n\r\nLaunching `node app.js` throws the following error:\r\n\r\n>\r\n>$ node app.js\r\n>/home/pi/.node-red/ble2mqtt/app.js:58\r\n>  return _(list).find(item => str.search(item) !== -1) ? action : !action;\r\n>                           ^^\r\nSyntaxError: Unexpected token =>\r\n>    at exports.runInThisContext (vm.js:73:16)\r\n>    at Module._compile (module.js:443:25)\r\n>    at Object.Module._extensions..js (module.js:478:10)\r\n>    at Module.load (module.js:355:32)\r\n>    at Function.Module._load (module.js:310:12)\r\n>    at Function.Module.runMain (module.js:501:10)\r\n>    at startup (node.js:129:16)\r\n>    at node.js:814:3\r\n>"},"comment":{"url":"https://api.github.com/repos/shmuelzon/ble2mqtt/issues/comments/260329771","html_url":"https://github.com/shmuelzon/ble2mqtt/issues/1#issuecomment-260329771","issue_url":"https://api.github.com/repos/shmuelzon/ble2mqtt/issues/1","id":260329771,"user":{"login":"shmuelzon","id":2786045,"avatar_url":"https://avatars.githubusercontent.com/u/2786045?v=3","gravatar_id":"","url":"https://api.github.com/users/shmuelzon","html_url":"https://github.com/shmuelzon","followers_url":"https://api.github.com/users/shmuelzon/followers","following_url":"https://api.github.com/users/shmuelzon/following{/other_user}","gists_url":"https://api.github.com/users/shmuelzon/gists{/gist_id}","starred_url":"https://api.github.com/users/shmuelzon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shmuelzon/subscriptions","organizations_url":"https://api.github.com/users/shmuelzon/orgs","repos_url":"https://api.github.com/users/shmuelzon/repos","events_url":"https://api.github.com/users/shmuelzon/events{/privacy}","received_events_url":"https://api.github.com/users/shmuelzon/received_events","type":"User","site_admin":false},"created_at":"2016-11-14T13:05:43Z","updated_at":"2016-11-14T13:05:43Z","body":"I think you need to update node to a newer version that supports arrow functions.\r\nYou'll also need a newer version of Bluez than the one supplied with Raspbian.\r\nRegardless, you should start the app with 'npm start' since it will also downloads the latest GATT definitions from bluetooth.org."}}
{"actor":{"display_login":"shmuelzon"}}