Skip to content
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

Unable to install iohook because of npm errors #418

Open
smetronic opened this issue Nov 10, 2022 · 4 comments
Open

Unable to install iohook because of npm errors #418

smetronic opened this issue Nov 10, 2022 · 4 comments

Comments

@smetronic
Copy link

NPM Version: 8.19.2
Operating System: Windows 10

PS E:\Development\ActivityMonitor> npm install iohook
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated [email protected]: request has been deprecated, see request/request#3142
npm ERR! code 1
npm ERR! path E:\Development\ActivityMonitor\node_modules\iohook
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node install.js
npm ERR! Downloading prebuild for platform: iohook-v0.9.3-node-v93-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-v93-win32-x64.tar.gz returned 404
npm ERR! Prebuild for current platform (iohook-v0.9.3-node-v93-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! E:\Development\ActivityMonitor\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\SMETRO1\AppData\Local\Temp\prebuild.tar.gz'] {
npm ERR! errno: -4058,
npm ERR! code: 'ENOENT',
npm ERR! syscall: 'open',
npm ERR! path: 'C:\Users\SMETRO
1\AppData\Local\Temp\prebuild.tar.gz'
npm ERR! }

@draeder
Copy link

draeder commented Dec 25, 2022

Same issue on MacOS v12.5.1 .

@cmerther
Copy link

I am running into this same issue on windows 11. Did you find any solution to this?

@will-0
Copy link

will-0 commented Feb 24, 2023

Same issue (Windows 11)

@oleslantern
Copy link

Windows 10, 2023. I updated to the last version of Node and NPM, but still having the same error :c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants