{"action":"created","issue":{"url":"https://api.github.com/repos/electron-userland/electron-builder/issues/683","repository_url":"https://api.github.com/repos/electron-userland/electron-builder","labels_url":"https://api.github.com/repos/electron-userland/electron-builder/issues/683/labels{/name}","comments_url":"https://api.github.com/repos/electron-userland/electron-builder/issues/683/comments","events_url":"https://api.github.com/repos/electron-userland/electron-builder/issues/683/events","html_url":"https://github.com/electron-userland/electron-builder/issues/683","id":172266303,"number":683,"title":"OS X: Error: Module version mismatch. Expected 48, got 49","user":{"login":"meltedspark","id":9823087,"avatar_url":"https://avatars.githubusercontent.com/u/9823087?v=3","gravatar_id":"","url":"https://api.github.com/users/meltedspark","html_url":"https://github.com/meltedspark","followers_url":"https://api.github.com/users/meltedspark/followers","following_url":"https://api.github.com/users/meltedspark/following{/other_user}","gists_url":"https://api.github.com/users/meltedspark/gists{/gist_id}","starred_url":"https://api.github.com/users/meltedspark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meltedspark/subscriptions","organizations_url":"https://api.github.com/users/meltedspark/orgs","repos_url":"https://api.github.com/users/meltedspark/repos","events_url":"https://api.github.com/users/meltedspark/events{/privacy}","received_events_url":"https://api.github.com/users/meltedspark/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/electron-userland/electron-builder/labels/duplicate","name":"duplicate","color":"cccccc"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-20T11:13:22Z","updated_at":"2016-08-20T11:58:36Z","closed_at":null,"body":"<!-- Which version of electron-builder are you using? -->\r\n* **^5.30.0**: \r\n\r\n<!-- What target are you building for? -->\r\n* **1.3.3**: \r\n\r\n<!-- Enter your issue details below this comment. -->\r\nWhen trying to build for OS X getting the following error:\r\n`tsc && node-gyp rebuild && build --mac`\r\n\r\n> Error: Module version mismatch. Expected 48, got 49.\r\n>     at Error (native)\r\n>     at Object.Module._extensions..node (module.js:583:18)\r\n>     at Module.load (module.js:473:32)\r\n>     at tryModuleLoad (module.js:432:12)\r\n>     at Function.Module._load (module.js:424:3)\r\n>     at Module.require (module.js:483:17)\r\n>     at require (internal/module.js:20:19)\r\n>     at Object.<anonymous> (/Users/Jenia/Desktop/git/electron-angular2-native/node_modules/macos-alias/lib/create.js:7:13)\r\n>     at Module._compile (module.js:556:32)\r\n>     at Object.Module._extensions..js (module.js:565:10)\r\n>     at Module.load (module.js:473:32)\r\n>     at tryModuleLoad (module.js:432:12)\r\n>     at Function.Module._load (module.js:424:3)\r\n>     at Module.require (module.js:483:17)\r\n>     at require (internal/module.js:20:19)\r\n>     at Object.<anonymous> (/Users/Jenia/Desktop/git/electron-angular2-native/node_modules/macos-alias/index.js:1:18)\r\n>     at Module._compile (module.js:556:32)\r\n>     at Object.Module._extensions..js (module.js:565:10)\r\n>     at Module.load (module.js:473:32)\r\n>     at tryModuleLoad (module.js:432:12)\r\n>     at Function.Module._load (module.js:424:3)\r\n>     at Module.require (module.js:483:17)\r\n>     at require (internal/module.js:20:19)\r\n>     at Object.<anonymous> (/Users/Jenia/Desktop/git/electron-angular2-native/node_modules/ds-store/index.js:2:13)\r\n>     at Module._compile (module.js:556:32)\r\n>     at Object.Module._extensions..js (module.js:565:10)\r\n>     at Module.load (module.js:473:32)\r\n>     at tryModuleLoad (module.js:432:12)\r\n> From previous event:\r\n>     at tsAwaiter (/Users/Jenia/Desktop/git/electron-angular2-native/node_modules/electron-builder/src/util/awaiter.ts:10:47)\r\n>     at Object.build (/Users/Jenia/Desktop/git/electron-angular2-native/node_modules/electron-builder/src/builder.ts:195:52)\r\n>     at Object.<anonymous> (/Users/Jenia/Desktop/git/electron-angular2-native/node_modules/electron-builder/src/build-cli.ts:27:28)\r\n>     at Module._compile (module.js:556:32)\r\n>     at Object.Module._extensions..js (module.js:565:10)\r\n>     at Module.load (module.js:473:32)\r\n>     at tryModuleLoad (module.js:432:12)\r\n>     at Function.Module._load (module.js:424:3)\r\n>     at Module.runMain (module.js:590:10)\r\n>     at run (bootstrap_node.js:394:7)\r\n>     at startup (bootstrap_node.js:149:9)\r\n>     at bootstrap_node.js:509:3\r\n\r\nTo reproduce:\r\n* Pull this repository: https://github.com/meltedspark/electron-angular2-native\r\n* Run `npm install`\r\n* Run `npm run dist:osx`"},"comment":{"url":"https://api.github.com/repos/electron-userland/electron-builder/issues/comments/241195573","html_url":"https://github.com/electron-userland/electron-builder/issues/683#issuecomment-241195573","issue_url":"https://api.github.com/repos/electron-userland/electron-builder/issues/683","id":241195573,"user":{"login":"develar","id":350686,"avatar_url":"https://avatars.githubusercontent.com/u/350686?v=3","gravatar_id":"","url":"https://api.github.com/users/develar","html_url":"https://github.com/develar","followers_url":"https://api.github.com/users/develar/followers","following_url":"https://api.github.com/users/develar/following{/other_user}","gists_url":"https://api.github.com/users/develar/gists{/gist_id}","starred_url":"https://api.github.com/users/develar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/develar/subscriptions","organizations_url":"https://api.github.com/users/develar/orgs","repos_url":"https://api.github.com/users/develar/repos","events_url":"https://api.github.com/users/develar/events{/privacy}","received_events_url":"https://api.github.com/users/develar/received_events","type":"User","site_admin":false},"created_at":"2016-08-20T11:58:36Z","updated_at":"2016-08-20T11:58:36Z","body":"Please do not node-gyp rebuild — it is not correct — electron headers must be used. If you have native deps, use 2 package.json structure and electron-builder will compile it for you automatically."}}
{"actor":{"display_login":"develar"}}