fivdi / epoll

A low-level Node.js binding for the Linux epoll API
MIT License
84 stars 13 forks source link

Error: The module epoll.node was compiled against a different Node.js version using NODE_MODULE_VERSION 93 #43

Closed Liczi closed 2 years ago

Liczi commented 2 years ago

Hi, I'm getting incompatibility errors when using onoff (which has dependency on this project's latest version). Would you be able to recompile against the newest Node LTS version which is 16.13.0 at the moment?

Full error:

Error: The module /local/path/epoll.node was compiled against a different Node.js version using NODE_MODULE_VERSION 93. This version of Node.js requires NODE_MODULE_VERSION 85.

rebuilding with npm rebuild epoll --update-binary does not help

Thanks in advance!

Liczi commented 2 years ago

this seems to be the problem of my electron version (due to chromium bugs in versions later than 89.x related with camera drivers on RPi I need to use electron 11.5.0 at most). Closing this issue

Liczi commented 2 years ago

FYI fixed with https://github.com/electron/electron-rebuild