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

Building for node v18.13.0 and Electron 22.0.0 #425

Open
Scorpion197 opened this issue Feb 5, 2023 · 3 comments
Open

Building for node v18.13.0 and Electron 22.0.0 #425

Scorpion197 opened this issue Feb 5, 2023 · 3 comments

Comments

@Scorpion197
Copy link

I'm trying to build for node version 18.13.0 and Electron 22.0.0 but i get the following error:

node build.js --upload=false                                                                                                                                          70%   1 Mbps  ─╯
Building iohook for node v18.13.0>>>>
node:events:491
      throw er; // Unhandled 'error' event
      ^

Error: spawn /home/scorpion197/chronly-test/chronly-electron/node_modules/iohook/node_modules/.bin/node-gyp ENOENT
    at ChildProcess._handle.onexit (node:internal/child_process:283:19)
    at onErrorNT (node:internal/child_process:476:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Emitted 'error' event on ChildProcess instance at:
    at ChildProcess._handle.onexit (node:internal/child_process:289:12)
    at onErrorNT (node:internal/child_process:476:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'spawn /home/scorpion197/chronly-test/chronly-electron/node_modules/iohook/node_modules/.bin/node-gyp',
  path: '/home/scorpion197/chronly-test/chronly-electron/node_modules/iohook/node_modules/.bin/node-gyp',
  spawnargs: [
    'configure',
    'rebuild',
    '--target=18.13.0',
    '--arch=x64',
    '--v8_enable_pointer_compression=1',
    '--build_v8_with_gn=false',
    '--enable_lto=false'
  ]
}

Node.js v18.13.0

@LiuZhenyan-Wuzhong
Copy link

Have you solved this?

@Ankit-Devslane
Copy link

@Scorpion197 , @LiuZhenyan-Wuzhong , did you find any solution

@Scorpion197
Copy link
Author

Scorpion197 commented Jan 6, 2024

@Ankit-Devslane nope I ended up with writing something similar in Rust

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

3 participants