Skip to content

Support for higher versions of node - v22+ #450

Open

Description

@trevorjpuckett
No description provided.

Activity

  1. tkomde commented on Aug 29, 2025

    @tkomde

    I had the same problem so I made an updated version. Support up to electron37, node24, esm, arm prebuild
    https://github.com/tkomde/iohook

  2. JackDan9 commented on Dec 5, 2025

    @JackDan9

    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'

  3. tkomde commented on Dec 7, 2025

    @tkomde

    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

  4. steve02081504 commented on Jan 4, 2026

    @steve02081504

    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)
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions