{"action":"created","issue":{"url":"https://api.github.com/repos/paviro/MMM-PIR-Sensor/issues/1","repository_url":"https://api.github.com/repos/paviro/MMM-PIR-Sensor","labels_url":"https://api.github.com/repos/paviro/MMM-PIR-Sensor/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/paviro/MMM-PIR-Sensor/issues/1/comments","events_url":"https://api.github.com/repos/paviro/MMM-PIR-Sensor/issues/1/events","html_url":"https://github.com/paviro/MMM-PIR-Sensor/issues/1","id":153650050,"number":1,"title":"Uncaught Exception when adding module","user":{"login":"PtrBld","id":7523956,"avatar_url":"https://avatars.githubusercontent.com/u/7523956?v=3","gravatar_id":"","url":"https://api.github.com/users/PtrBld","html_url":"https://github.com/PtrBld","followers_url":"https://api.github.com/users/PtrBld/followers","following_url":"https://api.github.com/users/PtrBld/following{/other_user}","gists_url":"https://api.github.com/users/PtrBld/gists{/gist_id}","starred_url":"https://api.github.com/users/PtrBld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PtrBld/subscriptions","organizations_url":"https://api.github.com/users/PtrBld/orgs","repos_url":"https://api.github.com/users/PtrBld/repos","events_url":"https://api.github.com/users/PtrBld/events{/privacy}","received_events_url":"https://api.github.com/users/PtrBld/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-08T11:21:19Z","updated_at":"2016-05-08T19:40:27Z","closed_at":null,"body":"Hi,\r\nI get an uncaught exception when I add your module to the config. The PIR sensor is connected correctly (tested with script) and works well when I use the `node serveronly` - way of starting and browse it with a browser but when using electron and pm2 it gives me the following error:\r\n`mm-0 (out): Whoops! There was an uncaught `exception...`\r\n\r\nSeems like there are permissions missing?! \r\nI followed your guide to install the module, so can you say what I am missing?\r\n"},"comment":{"url":"https://api.github.com/repos/paviro/MMM-PIR-Sensor/issues/comments/217741683","html_url":"https://github.com/paviro/MMM-PIR-Sensor/issues/1#issuecomment-217741683","issue_url":"https://api.github.com/repos/paviro/MMM-PIR-Sensor/issues/1","id":217741683,"user":{"login":"PtrBld","id":7523956,"avatar_url":"https://avatars.githubusercontent.com/u/7523956?v=3","gravatar_id":"","url":"https://api.github.com/users/PtrBld","html_url":"https://github.com/PtrBld","followers_url":"https://api.github.com/users/PtrBld/followers","following_url":"https://api.github.com/users/PtrBld/following{/other_user}","gists_url":"https://api.github.com/users/PtrBld/gists{/gist_id}","starred_url":"https://api.github.com/users/PtrBld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PtrBld/subscriptions","organizations_url":"https://api.github.com/users/PtrBld/orgs","repos_url":"https://api.github.com/users/PtrBld/repos","events_url":"https://api.github.com/users/PtrBld/events{/privacy}","received_events_url":"https://api.github.com/users/PtrBld/received_events","type":"User","site_admin":false},"created_at":"2016-05-08T19:40:27Z","updated_at":"2016-05-08T19:40:27Z","body":"Yes. Like I said it works if I use the browser version but stops working if I use electron...\r\nI am starting to think that it is a electron problem anyway since I investigated further and pointed out that I get a version error like `mm-0 (err): App threw an error when running [Error: Module version mismatch. Expected 47, got 48.] beforehand.\r\n\r\nDo you have any idea why this could be happening? Otherwise I think I should open an issue in the main repository.\r\n`"}}