-
Notifications
You must be signed in to change notification settings - Fork 291
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[electron] iohook.node file not created for electron #67
Comments
Hi there ! You have to set the Here you have electron Try this : "cmake-js": {
"runtime": "electron",
"runtimeVersion": "1.8.4"
} Have a nice day |
Still not able to rebuild this package. The package seems not be updated after the rebuild at all. I worked around by manually run the install.js and changed runtime to 'electron', but it is crashing when loaded. Might load a wrong version of binary file. I'll investigate further. If I make it work I'll let you know ! |
Hi there, do you have a correct "io-hook" dict in your "iohook": {
"targets": [
"node-59",
"electron-57"
],
"platforms": [
"win32",
"darwin",
"linux"
],
"arches": [
"x64",
"ia32"
]
} |
Yeah. Adding |
Thanks @zxiang77 the docs aren't clear enough on this (although it does make sense thinking about it). |
I added cmake-js to the package as instructed in the example but still cannot create the iohook.node file for electron. I feel current example for electron is not very clear. Could you give more explicit descriptions? Thanks!
Your Environment
my package.json
and I tried both mac and windows. It seems electron-rebuild is using node-gyp but you are using cmake-js. Idk that could be the problem.
The text was updated successfully, but these errors were encountered: