Comments (5)
Yeah. Adding iohook
dict in package.json
solved my problem. Note: You have to add the field before npm install iohook
because the installation process depends on that field. You can close this issue now. Thanks!
from iohook.
Hi there, do you have a correct "io-hook" dict in your package.json
? as in :
"iohook": {
"targets": [
"node-59",
"electron-57"
],
"platforms": [
"win32",
"darwin",
"linux"
],
"arches": [
"x64",
"ia32"
]
}
from iohook.
Hi there !
You have to set the runtimeVerison
in cmake-js
accordingly.
Here you have electron 1.8.4
and a declared runtime version of 1.4.7
Try this :
"cmake-js": {
"runtime": "electron",
"runtimeVersion": "1.8.4"
}
Have a nice day
from iohook.
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 !
from iohook.
Thanks @zxiang77 the docs aren't clear enough on this (although it does make sense thinking about it).
from iohook.
Related Issues (20)
- Is there a possibility to interrupt a keydown event?
- Update Electron Support HOT 2
- Cannot find module iohook.node HOT 2
- (node:72347) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 keydown listeners added to [IOHook]. Use emitter.setMaxListeners() to increase limit
- Unable to install iohook because of npm errors HOT 4
- How can check iohook is started or stopped
- iohook build different node js version HOT 15
- Update dist-url for build.js script
- Building for node v18.13.0 and Electron 22.0.0 HOT 3
- Release to github fails when manual build.
- Version 0.9.0 is not build for Windows 11 HOT 1
- Uncaught Exception: Error: Cannot find module '/home/logicrays/Documents/practice project/Learn electronjs/web-tracker-electron-app/node_modules/iohook/builds/electron-v113-linux-x64/build/Release/iohook.node' HOT 3
- Non-existing version of iohook, v0.9.3-node-v111-win32-x64 HOT 3
- Build a version for Electron v24.4.0 HOT 5
- Error to install over mac and nodejs v14 & v15 HOT 3
- iohook.node is not a valid Win32 application HOT 3
- Couldn't install iohook in my electron app HOT 3
- when manually building on windows, node-gyp generated .dll, but not .node HOT 19
- Error while installing HOT 2
- 404 NPM Install HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iohook.