Code Monkey home page Code Monkey logo

Comments (3)

dev-bre avatar dev-bre commented on August 20, 2024 1

any update on this matter? is this lib still maintained?

from iohook.

277584579 avatar 277584579 commented on August 20, 2024

me too

from iohook.

CyberLifeDev-Thomas avatar CyberLifeDev-Thomas commented on August 20, 2024

i have the same problem, i was trying to install it, but then i've got this message :

npm ERR! Downloading prebuild for platform: iohook-v0.9.3-node-v111-win32-x64
Downloading prebuild.tar.gz
npm ERR! Error: GET https://github.com/wilix-team/iohook/releases/download/v0.9.3/iohook-v0.9.3-node-v111-win32-x64.tar.gz returned 404
npm ERR! Prebuild for current platform (iohook-v0.9.3-node-v111-win32-x64) not found!
npm ERR! Try to build for your platform manually:
npm ERR! # cd node_modules/iohook;
npm ERR! # npm run build
npm ERR!
npm ERR! C:\Users\t.pierson\Documents\test\node_modules\iohook\install.js:16
npm ERR!   throw err;
npm ERR!   ^
npm ERR!
npm ERR! [Error: ENOENT: no such file or directory, open 'C:\Users\TE051~1.PIE\AppData\Local\Temp\prebuild.tar.gz'] {
npm ERR!   errno: -4058,
npm ERR!   code: 'ENOENT',
npm ERR!   syscall: 'open',
npm ERR!   path: 'C:\\Users\\TE051~1.PIE\\AppData\\Local\\Temp\\prebuild.tar.gz'
npm ERR! }
npm ERR!
npm ERR! Node.js v19.3.0

Then i've got an idea, so i try to download the v88 and rename it 'prebuild.tar.gz' and put it in 'C:\Users\TE051~1.PIE\AppData\Local\Temp\prebuild.tar.gz'. The installation proced well.

Then i try to start it, and i've got a message from node :

refresh_locale_list [476]: GetKeyboardLayoutList(0, NULL) found 2 layouts.
refresh_locale_list [493]: Received 2 locales.
load_input_helper [866]: refresh_locale_list() found 2 locale(s).
node:internal/modules/cjs/loader:1302
  return process.dlopen(module, path.toNamespacedPath(filename));
                 ^

Error: The module '\\?\C:\Users\anonymous\Documents\test\node_modules\iohook\builds\node-v111-win32-x64\build\Release\iohook.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 88. This version of Node.js requires
NODE_MODULE_VERSION 111. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
    at Module._extensions..node (node:internal/modules/cjs/loader:1302:18)
    at Module.load (node:internal/modules/cjs/loader:1081:32)
    at Module._load (node:internal/modules/cjs/loader:922:12)
    at Module.require (node:internal/modules/cjs/loader:1105:19)
    at require (node:internal/modules/cjs/helpers:103:18)
    at Object.<anonymous> (C:\Users\anonymous\Documents\test\node_modules\iohook\index.js:24:21)
    at Module._compile (node:internal/modules/cjs/loader:1218:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1272:10)
    at Module.load (node:internal/modules/cjs/loader:1081:32)
    at Module._load (node:internal/modules/cjs/loader:922:12) {
  code: 'ERR_DLOPEN_FAILED'
}

Node.js v19.3.0

So then i removed it and decided to repeat the same action but this time with the 'Source code
(tar.gz)'.
I've got this :

node:internal/modules/cjs/loader:1042
  throw err;
  ^

Error: Cannot find module 'C:\Users\anonymous\Documents\test\node_modules\iohook\builds\node-v111-win32-x64\build\Release\iohook.node'
Require stack:
- C:\Users\anonymous\Documents\test\node_modules\iohook\index.js
- C:\Users\anonymous\Documents\test\record_2.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1039:15)
    at Module._load (node:internal/modules/cjs/loader:885:27)
    at Module.require (node:internal/modules/cjs/loader:1105:19)
    at require (node:internal/modules/cjs/helpers:103:18)
    at Object.<anonymous> (C:\Users\anonymous\Documents\test\node_modules\iohook\index.js:24:21)
    at Module._compile (node:internal/modules/cjs/loader:1218:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1272:10)
    at Module.load (node:internal/modules/cjs/loader:1081:32)
    at Module._load (node:internal/modules/cjs/loader:922:12)
    at Module.require (node:internal/modules/cjs/loader:1105:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    'C:\\Users\\anonymous\\Documents\\test\\node_modules\\iohook\\index.js',
    'C:\\Users\\anonymous\\Documents\\test\\record_2.js'
  ]
}

Node.js v19.3.0

In the directory 'iohook\builds\node-v111-win32-x64', there is no directory name build. There's only one directory name 'iohook-0.9.3'. I can't find the good file for the 'build\Release' directory. But i know that this files are the one that is in 'iohook-v0.9.3-node-v111-win32-x64.tar.gz'. . .

can't go further. . .

I need to install it fast, i've got to use it fast before i get fired lmao

from iohook.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.