McFree
@McFree
JavaScript гуру

Как установить npm модуль iohook?

Прошу помочь, не могу установить модуль iohook

при написании команды npm install iohook выдает такие логи:

> iohook@0.6.1 install D:\js\electron\program\node_modules\iohook
> node install.js

node 59 win32 x64
Downloading prebuild for platform: iohook-v0.6.1-node-v59-win32-x64
Downloading prebuild.tar.gz
[============================================>] 100.0% of 29.9 kB (29.9 kB/s)
Downloading prebuild.tar.gz
[============================================>] 100.0% of 25.37 kB (25.37 kB/s)
Downloading prebuild.tar.gz
[============================================>] 100.0% of 25.54 kB (25.54 kB/s)
Downloading prebuild.tar.gz
Error: GET https://github.com/wilix-team/iohook/releases/download/v0.6.1/iohook-v0.6.1-electron-v54-win32-x64.tar.gz returned 404
Prebuild for current platform (iohook-v0.6.1-electron-v54-win32-x64) not found!
Try to compile for your platform:
# cd node_modules/iohook;
# npm run compile


D:\js\electron\program\node_modules\iohook\install.js:15
  throw err;
  ^
Prebuild for current platform (iohook-v0.6.1-electron-v54-win32-x64) not found!
npm WARN babel-loader@8.0.6 requires a peer of @babel/core@^7.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN brainmacros@1.0.0 No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! iohook@0.6.1 install: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the iohook@0.6.1 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\seda1\AppData\Roaming\npm-cache\_logs\2019-09-09T18_08_38_404Z-debug.log
  • Вопрос задан
  • 98 просмотров
Решения вопроса 1
Robur
@Robur
Знаю больше чем это необходимо
Try to compile for your platform:
# cd node_modules/iohook;
# npm run compile


пробовали?
Ответ написан
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы