Code Monkey home page Code Monkey logo

Comments (5)

zxiang77 avatar zxiang77 commented on August 20, 2024 8

Yeah. Adding iohook dict in package.json solved my problem. Note: You have to add the field before npm install iohook because the installation process depends on that field. You can close this issue now. Thanks!

from iohook.

Djiit avatar Djiit commented on August 20, 2024 3

Hi there, do you have a correct "io-hook" dict in your package.json ? as in :

"iohook": {
  "targets": [
    "node-59",
    "electron-57"
  ],
  "platforms": [
    "win32",
    "darwin",
    "linux"
  ],
  "arches": [
    "x64",
    "ia32"
  ]
}

from iohook.

Djiit avatar Djiit commented on August 20, 2024 1

Hi there !

You have to set the runtimeVerison in cmake-js accordingly.

Here you have electron 1.8.4 and a declared runtime version of 1.4.7

Try this :

  "cmake-js": {
    "runtime": "electron",
    "runtimeVersion": "1.8.4"
  }

Have a nice day

from iohook.

zxiang77 avatar zxiang77 commented on August 20, 2024

Still not able to rebuild this package. The package seems not be updated after the rebuild at all. I worked around by manually run the install.js and changed runtime to 'electron', but it is crashing when loaded. Might load a wrong version of binary file. I'll investigate further. If I make it work I'll let you know !

from iohook.

Mat-thieu avatar Mat-thieu commented on August 20, 2024

Thanks @zxiang77 the docs aren't clear enough on this (although it does make sense thinking about it).

from iohook.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.