{"action":"created","issue":{"url":"https://api.github.com/repos/nfarina/homebridge/issues/15","labels_url":"https://api.github.com/repos/nfarina/homebridge/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/nfarina/homebridge/issues/15/comments","events_url":"https://api.github.com/repos/nfarina/homebridge/issues/15/events","html_url":"https://github.com/nfarina/homebridge/issues/15","id":85470562,"number":15,"title":"Error on start","user":{"login":"tocks53","id":7701808,"avatar_url":"https://avatars.githubusercontent.com/u/7701808?v=3","gravatar_id":"","url":"https://api.github.com/users/tocks53","html_url":"https://github.com/tocks53","followers_url":"https://api.github.com/users/tocks53/followers","following_url":"https://api.github.com/users/tocks53/following{/other_user}","gists_url":"https://api.github.com/users/tocks53/gists{/gist_id}","starred_url":"https://api.github.com/users/tocks53/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tocks53/subscriptions","organizations_url":"https://api.github.com/users/tocks53/orgs","repos_url":"https://api.github.com/users/tocks53/repos","events_url":"https://api.github.com/users/tocks53/events{/privacy}","received_events_url":"https://api.github.com/users/tocks53/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-06-05T08:22:49Z","updated_at":"2015-06-06T10:59:26Z","closed_at":null,"body":"Hello, i want to test your homebridge. But i have an error when i start the node.\r\n\r\n> homebridge@0.0.0 start /home/beber/homebridge\r\n> node app.js\r\n\r\nStarting HomeBridge server...\r\n\r\nundefined:18\r\n        }\r\n        ^\r\nSyntaxError: Unexpected token }\r\n    at Object.parse (native)\r\n    at Object.<anonymous> (/home/beber/homebridge/app.js:21:19)\r\n    at Module._compile (module.js:456:26)\r\n    at Object.Module._extensions..js (module.js:474:10)\r\n    at Module.load (module.js:356:32)\r\n    at Function.Module._load (module.js:312:12)\r\n    at Function.Module.runMain (module.js:497:10)\r\n    at startup (node.js:119:16)\r\n    at node.js:902:3\r\n\r\nnpm ERR! homebridge@0.0.0 start: `node app.js`\r\nnpm ERR! Exit status 8\r\nnpm ERR! \r\nnpm ERR! Failed at the homebridge@0.0.0 start script.\r\nnpm ERR! This is most likely a problem with the homebridge package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     node app.js\r\nnpm ERR! You can get their info via:\r\nnpm ERR!     npm owner ls homebridge\r\nnpm ERR! There is likely additional logging output above.\r\nnpm ERR! System Linux 3.19.0-20-generic\r\nnpm ERR! command \"/usr/bin/nodejs\" \"/usr/bin/npm\" \"run\" \"start\"\r\nnpm ERR! cwd /home/beber/homebridge\r\nnpm ERR! node -v v0.10.25\r\nnpm ERR! npm -v 1.4.21\r\nnpm ERR! code ELIFECYCLE\r\nnpm WARN This failure might be due to the use of legacy binary \"node\"\r\nnpm WARN For further explanations, please read\r\n/usr/share/doc/nodejs/README.Debian\r\n \r\n0 info it worked if it ends with ok\r\n1 verbose cli [ '/usr/bin/nodejs', '/usr/bin/npm', 'run', 'start' ]\r\n2 info using npm@1.4.21\r\n3 info using node@v0.10.25\r\n4 verbose run-script [ 'prestart', 'start', 'poststart' ]\r\n5 info prestart homebridge@0.0.0\r\n6 info start homebridge@0.0.0\r\n7 verbose unsafe-perm in lifecycle true\r\n8 info homebridge@0.0.0 Failed to exec start script\r\n9 error homebridge@0.0.0 start: `node app.js`\r\n9 error Exit status 8\r\n10 error Failed at the homebridge@0.0.0 start script.\r\n10 error This is most likely a problem with the homebridge package,\r\n10 error not with npm itself.\r\n10 error Tell the author that this fails on your system:\r\n10 error     node app.js\r\n10 error You can get their info via:\r\n10 error     npm owner ls homebridge\r\n10 error There is likely additional logging output above.\r\n11 error System Linux 3.19.0-20-generic\r\n12 error command \"/usr/bin/nodejs\" \"/usr/bin/npm\" \"run\" \"start\"\r\n13 error cwd /home/beber/homebridge\r\n14 error node -v v0.10.25\r\n15 error npm -v 1.4.21\r\n16 error code ELIFECYCLE\r\n17 verbose exit [ 1, true ]\r\n\r\nha you got an idea ?\r\n"},"comment":{"url":"https://api.github.com/repos/nfarina/homebridge/issues/comments/109564733","html_url":"https://github.com/nfarina/homebridge/issues/15#issuecomment-109564733","issue_url":"https://api.github.com/repos/nfarina/homebridge/issues/15","id":109564733,"user":{"login":"Kosta-Github","id":2526664,"avatar_url":"https://avatars.githubusercontent.com/u/2526664?v=3","gravatar_id":"","url":"https://api.github.com/users/Kosta-Github","html_url":"https://github.com/Kosta-Github","followers_url":"https://api.github.com/users/Kosta-Github/followers","following_url":"https://api.github.com/users/Kosta-Github/following{/other_user}","gists_url":"https://api.github.com/users/Kosta-Github/gists{/gist_id}","starred_url":"https://api.github.com/users/Kosta-Github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kosta-Github/subscriptions","organizations_url":"https://api.github.com/users/Kosta-Github/orgs","repos_url":"https://api.github.com/users/Kosta-Github/repos","events_url":"https://api.github.com/users/Kosta-Github/events{/privacy}","received_events_url":"https://api.github.com/users/Kosta-Github/received_events","type":"User","site_admin":false},"created_at":"2015-06-06T10:59:26Z","updated_at":"2015-06-06T10:59:26Z","body":"I guess you need a `platforms` entry in your `config.json` file with an empty array as value, e.g.:\r\n```\r\n{\r\n    \"description\": \"...\",\r\n    \"platforms\": [ ],\r\n    \"accessories\": [ ... ]\r\n} \r\n```"}}