electron / node-abi

:turtle: :rocket: Get the Node.js and Electron ABI for a given target and runtime
https://www.npmjs.com/node-abi
MIT License
164 stars 58 forks source link

Not support Electron 8.1.x #81

Closed s524797336 closed 4 years ago

s524797336 commented 4 years ago

Please support it, electron-forge will fail at start script.

zenjava commented 4 years ago

me too.

malept commented 4 years ago

As far as I'm aware, the latest version of node-abi (2.15.0 at the time of this comment) supports Electron 8.1.x

Jocs commented 4 years ago

@s524797336 @zenjava You can check whether you install the correct version of node-abi in yarn.lock or other lock file. if not you can add codes bellow:

  "resolutions": {
    "node-abi": "2.15.0"
  },

in your package.json file. make sure you use yarn.

s524797336 commented 4 years ago

I switch to npm and reinstall, it woks...

malept commented 4 years ago

All you need to do is run yarn upgrade node-abi or npm upgrade node-abi --depth=100 to upgrade node-abi for your project.