{"action":"created","issue":{"url":"https://api.github.com/repos/Didel/HomeKitCam/issues/10","repository_url":"https://api.github.com/repos/Didel/HomeKitCam","labels_url":"https://api.github.com/repos/Didel/HomeKitCam/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/Didel/HomeKitCam/issues/10/comments","events_url":"https://api.github.com/repos/Didel/HomeKitCam/issues/10/events","html_url":"https://github.com/Didel/HomeKitCam/issues/10","id":326967571,"number":10,"title":"cant run node PiCamera_accessory.js ? ideas?","user":{"login":"raaffq","id":31780068,"avatar_url":"https://avatars1.githubusercontent.com/u/31780068?v=4","gravatar_id":"","url":"https://api.github.com/users/raaffq","html_url":"https://github.com/raaffq","followers_url":"https://api.github.com/users/raaffq/followers","following_url":"https://api.github.com/users/raaffq/following{/other_user}","gists_url":"https://api.github.com/users/raaffq/gists{/gist_id}","starred_url":"https://api.github.com/users/raaffq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raaffq/subscriptions","organizations_url":"https://api.github.com/users/raaffq/orgs","repos_url":"https://api.github.com/users/raaffq/repos","events_url":"https://api.github.com/users/raaffq/events{/privacy}","received_events_url":"https://api.github.com/users/raaffq/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-05-28T09:51:38Z","updated_at":"2018-05-28T14:31:18Z","closed_at":null,"author_association":"NONE","body":"pi@raspberrypi:~/HomeKitCam $ ls\r\nLICENSE  node_modules  package.json  PiCamera_accessory.js  README.md\r\npi@raspberrypi:~/HomeKitCam $ node PiCamera_accessory.js\r\n/home/pi/HomeKitCam/PiCamera_accessory.js:25\r\n    let sessionIdentifier = uuid.unparse(sessionID);\r\n    ^^^\r\n\r\nSyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode\r\n    at exports.runInThisContext (vm.js:53:16)\r\n    at Module._compile (module.js:414:25)\r\n    at Object.Module._extensions..js (module.js:442:10)\r\n    at Module.load (module.js:356:32)\r\n    at Function.Module._load (module.js:311:12)\r\n    at Function.Module.runMain (module.js:467:10)\r\n    at startup (node.js:134:18)\r\n    at node.js:961:3\r\npi@raspberrypi:~/HomeKitCam $ \r\n"},"comment":{"url":"https://api.github.com/repos/Didel/HomeKitCam/issues/comments/392542408","html_url":"https://github.com/Didel/HomeKitCam/issues/10#issuecomment-392542408","issue_url":"https://api.github.com/repos/Didel/HomeKitCam/issues/10","id":392542408,"user":{"login":"raaffq","id":31780068,"avatar_url":"https://avatars1.githubusercontent.com/u/31780068?v=4","gravatar_id":"","url":"https://api.github.com/users/raaffq","html_url":"https://github.com/raaffq","followers_url":"https://api.github.com/users/raaffq/followers","following_url":"https://api.github.com/users/raaffq/following{/other_user}","gists_url":"https://api.github.com/users/raaffq/gists{/gist_id}","starred_url":"https://api.github.com/users/raaffq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raaffq/subscriptions","organizations_url":"https://api.github.com/users/raaffq/orgs","repos_url":"https://api.github.com/users/raaffq/repos","events_url":"https://api.github.com/users/raaffq/events{/privacy}","received_events_url":"https://api.github.com/users/raaffq/received_events","type":"User","site_admin":false},"created_at":"2018-05-28T14:31:18Z","updated_at":"2018-05-28T14:31:18Z","author_association":"NONE","body":"How I can update? I try pi@raspberrypi:~ $ sudo apt-get install -y nodejs\r\nReading package lists... Done\r\nBuilding dependency tree       \r\nReading state information... Done\r\nnodejs is already the newest version (10.2.1-1nodesource1).\r\n0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.\r\npi@raspberrypi:~ $ node -b\r\nnode: bad option: -b\r\npi@raspberrypi:~ $ node -v\r\nv4.2.1\r\npi@raspberrypi:~ $ \r\n"}}
{"actor":{"display_login":"raaffq"}}