{"action":"created","issue":{"url":"https://api.github.com/repos/octalmage/robotjs/issues/32","labels_url":"https://api.github.com/repos/octalmage/robotjs/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/octalmage/robotjs/issues/32/comments","events_url":"https://api.github.com/repos/octalmage/robotjs/issues/32/events","html_url":"https://github.com/octalmage/robotjs/issues/32","id":91480788,"number":32,"title":"Electron (Atom-shell) compatibility break","user":{"login":"hugohil","id":4352715,"avatar_url":"https://avatars.githubusercontent.com/u/4352715?v=3","gravatar_id":"","url":"https://api.github.com/users/hugohil","html_url":"https://github.com/hugohil","followers_url":"https://api.github.com/users/hugohil/followers","following_url":"https://api.github.com/users/hugohil/following{/other_user}","gists_url":"https://api.github.com/users/hugohil/gists{/gist_id}","starred_url":"https://api.github.com/users/hugohil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hugohil/subscriptions","organizations_url":"https://api.github.com/users/hugohil/orgs","repos_url":"https://api.github.com/users/hugohil/repos","events_url":"https://api.github.com/users/hugohil/events{/privacy}","received_events_url":"https://api.github.com/users/hugohil/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/octalmage/robotjs/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-06-27T15:09:43Z","updated_at":"2015-08-13T01:19:25Z","closed_at":null,"body":"Hi :)\r\n\r\nI want to use your library with [`electron`](http://electron.atom.io) but I can't get it to work. All I get when I launch my program is:\r\n```\r\n[3412:0627/165819:INFO:CONSOLE(98)] \"Uncaught Error: Module version mismatch. Expected 44, got 14.\r\nError: Module version mismatch. Expected 44, got 14.\r\n    at Error (native)\r\n    at Object.module.(anonymous function) (ATOM_SHELL_ASAR.js:137:20)\r\n    at Object.module.(anonymous function) [as .node] (ATOM_SHELL_ASAR.js:137:20)\r\n    at Module.load (module.js:351:32)\r\n    at Function.Module._load (module.js:306:12)\r\n    at Module.require (module.js:361:17)\r\n    at require (module.js:380:17)\r\n    at Object.<anonymous> (/Users/perso/Sources/js/hugo/soixantesouris/node_modules/robotjs/index.js:1:80)\r\n    at Module._compile (module.js:426:26)\r\n    at Object.Module._extensions..js (module.js:444:10)\", source: /usr/local/lib/node_modules/electron-prebuilt/dist/Electron.app/Contents/Resources/atom.asar/renderer/api/lib/remote.js (98)\r\n```\r\n\r\nI'm running this on Mac OS 10.10.3, with node `0.12.4`. I tested the lib with a simple script (i.e not with `electron`) and it worked perfectly. I also tried to build [screencat](https://github.com/maxogden/screencat) (a program which uses `electron` along with `robotjs`) on my computer and I get the same error, so it seems that it is related with `electron` itself.\r\n\r\nDo you have any idea ? @maxogden maybe ?"},"comment":{"url":"https://api.github.com/repos/octalmage/robotjs/issues/comments/130497727","html_url":"https://github.com/octalmage/robotjs/issues/32#issuecomment-130497727","issue_url":"https://api.github.com/repos/octalmage/robotjs/issues/32","id":130497727,"user":{"login":"octalmage","id":142006,"avatar_url":"https://avatars.githubusercontent.com/u/142006?v=3","gravatar_id":"","url":"https://api.github.com/users/octalmage","html_url":"https://github.com/octalmage","followers_url":"https://api.github.com/users/octalmage/followers","following_url":"https://api.github.com/users/octalmage/following{/other_user}","gists_url":"https://api.github.com/users/octalmage/gists{/gist_id}","starred_url":"https://api.github.com/users/octalmage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/octalmage/subscriptions","organizations_url":"https://api.github.com/users/octalmage/orgs","repos_url":"https://api.github.com/users/octalmage/repos","events_url":"https://api.github.com/users/octalmage/events{/privacy}","received_events_url":"https://api.github.com/users/octalmage/received_events","type":"User","site_admin":false},"created_at":"2015-08-13T01:19:25Z","updated_at":"2015-08-13T01:19:25Z","body":"Awesome! Sounds good!"}}