iohook icon indicating copy to clipboard operation
iohook copied to clipboard

Error to install over mac and nodejs v14 & v15

Open mrcheidel opened this issue 11 months ago • 3 comments

npm install iohook --save 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 https://github.com/request/request/issues/3142 npm ERR! code 1 npm ERR! path /Users/myuser/Projects/robot/node_modules/iohook npm ERR! command failed npm ERR! command sh -c node install.js npm ERR! Downloading prebuild for platform: iohook-v0.9.3-node-v88-darwin-arm64 Downloading prebuild.tar.gz npm ERR! Error: GET https://github.com/wilix-team/iohook/releases/download/v0.9.3/iohook-v0.9.3-node-v88-darwin-arm64.tar.gz returned 404 npm ERR! Prebuild for current platform (iohook-v0.9.3-node-v88-darwin-arm64) 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! /Users/myuser/Projects/robot/node_modules/iohook/install.js:16 npm ERR! throw err; npm ERR! ^ npm ERR! npm ERR! [Error: ENOENT: no such file or directory, open '/var/folders/wj/r11dy7lj4l1dt0hp_fx59gxjk7045q/T/prebuild.tar.gz'] { npm ERR! errno: -2, npm ERR! code: 'ENOENT', npm ERR! syscall: 'open', npm ERR! path: '/var/folders/wj/r11dy7lj4l1dt0hp_fx59gxjk7045q/T/prebuild.tar.gz' npm ERR! }

npm ERR! A complete log of this run can be found in: npm ERR! /Users/myuser/.npm/_logs/2023-07-18T15_01_47_954Z-debug.log

mrcheidel avatar Jul 18 '23 15:07 mrcheidel

I have same issue on version 18.17.1.

RohanS3230 avatar Aug 19 '23 19:08 RohanS3230

npm install iohook --save
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 https://github.com/request/request/issues/3142
npm ERR! code 1
npm ERR! path E:\programming\workspace\difficult\nodeTemp\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-v108-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-v108-win32-x64.tar.gz returned 404
npm ERR! Prebuild for current platform (iohook-v0.9.3-node-v108-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:\programming\workspace\difficult\nodeTemp\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\self_path\AppData\Local\Temp\prebuild.tar.gz'] {
npm ERR!   errno: -4058,
npm ERR!   code: 'ENOENT',
npm ERR!   syscall: 'open',
npm ERR!   path: 'C:\\Users\\self_path\\AppData\\Local\\Temp\\prebuild.tar.gz'
npm ERR! }
npm ERR!
npm ERR! Node.js v18.17.1

npm ERR! A complete log of this run can be found in: C:\Users\slef_path

Same as Windows and Node.js v18.17.1

djx314 avatar Aug 29 '23 21:08 djx314

Is there any solution?

731514100 avatar Sep 25 '23 07:09 731514100