{"action":"created","issue":{"url":"https://api.github.com/repos/atom/node-keytar/issues/64","repository_url":"https://api.github.com/repos/atom/node-keytar","labels_url":"https://api.github.com/repos/atom/node-keytar/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/atom/node-keytar/issues/64/comments","events_url":"https://api.github.com/repos/atom/node-keytar/issues/64/events","html_url":"https://github.com/atom/node-keytar/issues/64","id":226191590,"node_id":"MDU6SXNzdWUyMjYxOTE1OTA=","number":64,"title":"The module build/Release/keytar.node was compiled against a different Node.js version","user":{"login":"alexcroox","id":1065835,"node_id":"MDQ6VXNlcjEwNjU4MzU=","avatar_url":"https://avatars0.githubusercontent.com/u/1065835?v=4","gravatar_id":"","url":"https://api.github.com/users/alexcroox","html_url":"https://github.com/alexcroox","followers_url":"https://api.github.com/users/alexcroox/followers","following_url":"https://api.github.com/users/alexcroox/following{/other_user}","gists_url":"https://api.github.com/users/alexcroox/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcroox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcroox/subscriptions","organizations_url":"https://api.github.com/users/alexcroox/orgs","repos_url":"https://api.github.com/users/alexcroox/repos","events_url":"https://api.github.com/users/alexcroox/events{/privacy}","received_events_url":"https://api.github.com/users/alexcroox/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2017-05-04T06:49:51Z","updated_at":"2018-10-30T22:04:23Z","closed_at":"2017-05-16T22:17:45Z","author_association":"NONE","body":"I'm using with Electron, install install runs fine but when importing it with node I get:\r\n\r\n```\r\nThe module '.../node_modules/keytar/build/Release/keytar.node'\r\nwas compiled against a different Node.js version using\r\nNODE_MODULE_VERSION 51. This version of Node.js requires\r\nNODE_MODULE_VERSION 53. Please try re-compiling or re-installing\r\nthe module (for instance, using `npm rebuild` or`npm install`).\r\n```\r\n\r\nI tried `npm rebuild keytar` with no joy"},"comment":{"url":"https://api.github.com/repos/atom/node-keytar/issues/comments/434486884","html_url":"https://github.com/atom/node-keytar/issues/64#issuecomment-434486884","issue_url":"https://api.github.com/repos/atom/node-keytar/issues/64","id":434486884,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNDQ4Njg4NA==","user":{"login":"BinaryMuse","id":189606,"node_id":"MDQ6VXNlcjE4OTYwNg==","avatar_url":"https://avatars0.githubusercontent.com/u/189606?v=4","gravatar_id":"","url":"https://api.github.com/users/BinaryMuse","html_url":"https://github.com/BinaryMuse","followers_url":"https://api.github.com/users/BinaryMuse/followers","following_url":"https://api.github.com/users/BinaryMuse/following{/other_user}","gists_url":"https://api.github.com/users/BinaryMuse/gists{/gist_id}","starred_url":"https://api.github.com/users/BinaryMuse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BinaryMuse/subscriptions","organizations_url":"https://api.github.com/users/BinaryMuse/orgs","repos_url":"https://api.github.com/users/BinaryMuse/repos","events_url":"https://api.github.com/users/BinaryMuse/events{/privacy}","received_events_url":"https://api.github.com/users/BinaryMuse/received_events","type":"User","site_admin":true},"created_at":"2018-10-30T22:04:23Z","updated_at":"2018-10-30T22:04:23Z","author_association":"MEMBER","body":"Hi, folks,\r\n\r\nPlease see [the comment that I posted earlier](https://github.com/atom/node-keytar/issues/64#issuecomment-301621222). You'll need to follow the instructions on the [Using Native Node Modules](https://electronjs.org/docs/tutorial/using-native-node-modules) page on the Electron site. I personally use and recommend the strategy described in [Installing modules and rebuilding for Electron](https://electronjs.org/docs/tutorial/using-native-node-modules#installing-modules-and-rebuilding-for-electron), which describes how to fix this problem with the [electron-rebuild](https://github.com/electron/electron-rebuild) package.\r\n\r\nSince the original issue is solved, I'm going to lock this issue. If you have a different problem, or have tried the above steps and it doesn't work, then please create a new issue and we can work to resolve it separately."}}
{"actor":{"display_login":"BinaryMuse"}}