You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have you added the os/arch setting to package.json before 'npm i'? Alternatively, manually download the release file, rename it, and place it in the correct location.
I had the same problem so I made an updated version. Support up to electron37, node24, esm, arm prebuild https://github.com/tkomde/iohook
maybe ya can open ya forks issue page?
btw looks not work with deno:
PS C:\Users\steve02081504\workstation\fount> deno
Deno 2.6.3
exit using ctrl+d, ctrl+c, or close()
REPL is running with all permissions allowed.
To specify permissions, run `deno repl` with allow flags.
> await import('npm:@tkomde/iohook')
Uncaught Error: Cannot find module 'C:\Users\steve02081504\Documents\workstation\fount\node_modules\.deno\@tkomde+iohook@1.1.7\node_modules\@tkomde\iohook\builds\node-v108-win32-x64\build\Release\iohook.node'
Require stack:
- C:\Users\steve02081504\Documents\workstation\fount\node_modules\.deno\@tkomde+iohook@1.1.7\node_modules\@tkomde\iohook\index.js
- C:\Users\steve02081504\Documents\workstation\fount\node_modules\.deno\@tkomde+iohook@1.1.7\node_modules\@tkomde\iohook\index.mjs
at Module._resolveFilename (node:module:633:15)
at Module._load (node:module:496:27)
at Module.require (node:module:694:19)
at require (node:module:828:16)
at file:///C:/Users/steve02081504/Documents/workstation/fount/node_modules/.deno/@tkomde+iohook@1.1.7/node_modules/@tkomde/iohook/index.js:24:21
at Object.<anonymous> (file:///C:/Users/steve02081504/Documents/workstation/fount/node_modules/.deno/@tkomde+iohook@1.1.7/node_modules/@tkomde/iohook/index.js:416:3)
at Module._compile (node:module:757:34)
at loadMaybeCjs (node:module:782:10)
at Object.Module._extensions..js (node:module:767:12)
at Module.load (node:module:675:32)
Activity
tkomde commentedon Aug 29, 2025
I had the same problem so I made an updated version. Support up to electron37, node24, esm, arm prebuild
https://github.com/tkomde/iohook
JackDan9 commentedon Dec 5, 2025
https://github.com/tkomde/iohook
in electron app
import {iohook} from "@tkomode/iohook"
Error: Cannot find module 'C:\Users\1\Downloads\work\autoglm-typist\node_modules\@tkomde\iohook\builds\electron-v132-win32-x64\build\Release\iohook.node'tkomde commentedon Dec 7, 2025
Have you added the os/arch setting to package.json before 'npm i'? Alternatively, manually download the release file, rename it, and place it in the correct location.
iohook-v1.1.7-electron-v132-win32-x64.tar.gz
steve02081504 commentedon Jan 4, 2026
maybe ya can open ya forks issue page?
btw looks not work with deno: