Skip to content

Couldn't install iohook in my electron app #441

Open
@sachinsrinivas12

Description

@sachinsrinivas12

npm WARN cleanup Failed to remove some directories [
npm WARN cleanup [
npm WARN cleanup 'C:\appDev\catalyst-electronjs-agent\node_modules\app-builder-lib',
npm WARN cleanup [Error: EPERM: operation not permitted, rmdir 'C:\appDev\catalyst-electronjs-agent\node_modules\app-builder-lib\templates'] {
npm WARN cleanup errno: -4048,
npm WARN cleanup code: 'EPERM',
npm WARN cleanup syscall: 'rmdir',
npm WARN cleanup path: 'C:\appDev\catalyst-electronjs-agent\node_modules\app-builder-lib\templates'
npm WARN cleanup }
npm WARN cleanup ],
npm WARN cleanup [
npm WARN cleanup 'C:\appDev\catalyst-electronjs-agent\node_modules\getmac',
npm WARN cleanup [Error: EPERM: operation not permitted, rmdir 'C:\appDev\catalyst-electronjs-agent\node_modules\getmac\node_modules@types\node\ts4.8\dns'] {
npm WARN cleanup errno: -4048,
npm WARN cleanup code: 'EPERM',
npm WARN cleanup syscall: 'rmdir',
npm WARN cleanup path: 'C:\appDev\catalyst-electronjs-agent\node_modules\getmac\node_modules\@types\node\ts4.8\dns'
npm WARN cleanup }
npm WARN cleanup ],
npm WARN cleanup [
npm WARN cleanup 'C:\appDev\catalyst-electronjs-agent\node_modules\axios',
npm WARN cleanup [Error: EPERM: operation not permitted, rmdir 'C:\appDev\catalyst-electronjs-agent\node_modules\axios'] {
npm WARN cleanup errno: -4048,
npm WARN cleanup code: 'EPERM',
npm WARN cleanup syscall: 'rmdir',
npm WARN cleanup path: 'C:\appDev\catalyst-electronjs-agent\node_modules\axios'
npm WARN cleanup }
npm WARN cleanup ]
npm WARN cleanup ]
npm ERR! code 1
npm ERR! path C:\appDev\catalyst-electronjs-agent\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-v120-win32-x64
npm ERR! Downloading prebuild.tar.gz
Downloading prebuild.tar.gz
npm ERR! Error: GET https://github.com/wilix-team/iohook/releases/download/v0.9.3/iohook-v0.9.3-node-v120-win32-x64.tar.gz returned 404
npm ERR! (node:26996) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
npm ERR! (Use node --trace-deprecation ... to show where the warning was created)
npm ERR! Prebuild for current platform (iohook-v0.9.3-node-v120-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:\appDev\catalyst-electronjs-agent\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\SACHIN1.SRI\AppData\Local\Temp\prebuild.tar.gz'] {
npm ERR! errno: -4058,
npm ERR! code: 'ENOENT',
npm ERR! syscall: 'open',
npm ERR! path: 'C:\Users\SACHIN
1.SRI\AppData\Local\Temp\prebuild.tar.gz'
npm ERR! }
npm ERR!
npm ERR! Node.js v21.4.0

npm ERR! A complete log of this run can be found in: C:\Users\sachin.srinivas\AppData\Local\npm-cache_logs\2024-01-22T11_47_59_629Z-debug-0.log

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