{"action":"created","issue":{"url":"https://api.github.com/repos/electron/electron/issues/13936","repository_url":"https://api.github.com/repos/electron/electron","labels_url":"https://api.github.com/repos/electron/electron/issues/13936/labels{/name}","comments_url":"https://api.github.com/repos/electron/electron/issues/13936/comments","events_url":"https://api.github.com/repos/electron/electron/issues/13936/events","html_url":"https://github.com/electron/electron/issues/13936","id":347605361,"node_id":"MDU6SXNzdWUzNDc2MDUzNjE=","number":13936,"title":"Electron: __ was compiled against a different version of Node.js","user":{"login":"liushaohua","id":9798685,"node_id":"MDQ6VXNlcjk3OTg2ODU=","avatar_url":"https://avatars2.githubusercontent.com/u/9798685?v=4","gravatar_id":"","url":"https://api.github.com/users/liushaohua","html_url":"https://github.com/liushaohua","followers_url":"https://api.github.com/users/liushaohua/followers","following_url":"https://api.github.com/users/liushaohua/following{/other_user}","gists_url":"https://api.github.com/users/liushaohua/gists{/gist_id}","starred_url":"https://api.github.com/users/liushaohua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liushaohua/subscriptions","organizations_url":"https://api.github.com/users/liushaohua/orgs","repos_url":"https://api.github.com/users/liushaohua/repos","events_url":"https://api.github.com/users/liushaohua/events{/privacy}","received_events_url":"https://api.github.com/users/liushaohua/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-04T09:43:58Z","updated_at":"2018-08-04T10:43:52Z","closed_at":null,"author_association":"NONE","body":"When trying to package electron app on macOS Sierra using electron-installer-dmg, I get the following:\r\n```\r\nError: Cannot open /Users/liushaohua/Documents/DATA/IMTalk/node_modules/hello.node: Error: The module '/Users/liushaohua/Documents/DATA/IMTalk/node_modules/hello.node'\r\nwas compiled against a different Node.js version using\r\nNODE_MODULE_VERSION 57. This version of Node.js requires\r\nNODE_MODULE_VERSION 64. Please try re-compiling or re-installing\r\nthe module (for instance, using `npm rebuild` or `npm install`).\r\n    at Object.<anonymous> (/Users/liushaohua/Documents/DATA/IMTalk/dist/electron/main.js:24435:223)\r\n    at Object.module.exports.module.exports (/Users/liushaohua/Documents/DATA/IMTalk/dist/electron/main.js:24436:30)\r\n```\r\nVersions:\r\n```\r\nNode v8.11.1\r\nnpm: 5.6.0\r\nelectron: 3.0.0-beta.4\r\n```\r\nIs there any solution to this problem?"},"comment":{"url":"https://api.github.com/repos/electron/electron/issues/comments/410440859","html_url":"https://github.com/electron/electron/issues/13936#issuecomment-410440859","issue_url":"https://api.github.com/repos/electron/electron/issues/13936","id":410440859,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDQ0MDg1OQ==","user":{"login":"MarshallOfSound","id":6634592,"node_id":"MDQ6VXNlcjY2MzQ1OTI=","avatar_url":"https://avatars3.githubusercontent.com/u/6634592?v=4","gravatar_id":"","url":"https://api.github.com/users/MarshallOfSound","html_url":"https://github.com/MarshallOfSound","followers_url":"https://api.github.com/users/MarshallOfSound/followers","following_url":"https://api.github.com/users/MarshallOfSound/following{/other_user}","gists_url":"https://api.github.com/users/MarshallOfSound/gists{/gist_id}","starred_url":"https://api.github.com/users/MarshallOfSound/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarshallOfSound/subscriptions","organizations_url":"https://api.github.com/users/MarshallOfSound/orgs","repos_url":"https://api.github.com/users/MarshallOfSound/repos","events_url":"https://api.github.com/users/MarshallOfSound/events{/privacy}","received_events_url":"https://api.github.com/users/MarshallOfSound/received_events","type":"User","site_admin":false},"created_at":"2018-08-04T10:43:52Z","updated_at":"2018-08-04T10:43:52Z","author_association":"MEMBER","body":"https://electronjs.org/docs/tutorial/using-native-node-modules"}}
{"actor":{"display_login":"MarshallOfSound"}}