-
Notifications
You must be signed in to change notification settings - Fork 292
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
A build of my app does not work with iohook on windows. Can't find iohook.node #153
Comments
Same thing happens to me when running the https://github.com/wilix-team/iohook/tree/master/examples/electron-example example project |
I'm seeing the same problem with latest ABI version of electron 69. |
Here is the console error I'm getting as well. Uncaught Error: The specified procedure could not be found. console.log('info: ', process.versions.modules); |
I have the same Problem on windows 10 x64 , electron 4.1.0 , iohook 0.4.0 on requiring iohook. but it works with node js fine. What your solution for this? |
Any updates with this version of iohook and latest version of electron 64-bit windows? if not I'll probably have to downgrade to an older version. |
nodejs/node-addon-api#269 (comment) Seems to be what we have to do. Step 1 is easy enough, though Step 2 will require some code changes (hopefully quite simplistic) |
I'm just curious if anyone has gotten iohook with Electron 4.1.0 ABI 69 working. I just went back to Electron 2.0.0+ for the time being. |
Yep, MacOS and Linux work fine. #144 |
Can someone else publish a binary for Windows 10 64-bit? Seems the last release didn't compile properly. |
@GimpMaster could you help us with this ? #157 |
@Djiit Absolutely. Just an FYI...I saw you pushed a new release 0.4.1. I did the following: npm install https://github.com/wilix-team/iohook.git -save This installed 0.4.1. I even confirmed the build folder: electron-v69-win32-x64\build\Release had the same binaries as what is in the tagged release. But I still get the following error.
I'll see what I can do in issue #157 |
I'm closing this since it was resolved elsewhere. |
I am very new to electron, but I think this error is not on me.
I have an electron app that works well on Ubuntu Linux 18.04, but fails when trying to run it on Windows 10 (64 bit).
Expected Behavior
I would expect the app to run and work just like on Linux
Current Behavior
When trying to start the app with
electron .
, the app crashes instantly with a Windows popup error window, and this in the console:I can in fact find the file that is supposedly missing at the path specified, but the path in the error message seems to be malformed. A similar error appears in the version of the app packaged with
electron-packager
regardless of whether I package it on Windows or LinuxPossible Solution
Native node extensions are way out of my comfort zone at the moment, but Googling around has brought me to this issue on a different package.
agracio/electron-edge-js#32
As you can see in the issue, the path is malformed in the same way, and it seems to be related to this issue:
https://electronjs.org/docs/tutorial/using-native-node-modules#troubleshooting
Regarding the
win_delay_load_hook
. Which is in the iohook package itself.Steps to Reproduce (for bugs)
4.0.4.
Context
The app is supposed to track user activity and put it self on pause if there was no user activity in the last 5 minutes. That is what I am using iohook for. The feature works on Ubuntu Linux 18.04 LTS, but not on Windows. Windows and MacOS users are very important to me. I still have not tested it on a Mac.
Your Environment
Windows 10 64 bit
Iohook 0.4.0
Electron 4.0.4
The text was updated successfully, but these errors were encountered: