onoff icon indicating copy to clipboard operation
onoff copied to clipboard

Epoll version upgrade for nodejs v20

Open Iseroo opened this issue 1 year ago • 2 comments

Version upgrade to epoll v4.0.2

Iseroo avatar May 03 '24 11:05 Iseroo

this is not necessary because the caret ^ will allow 4.0.2 to be installed. learn more: https://semver.org/

mifi avatar May 31 '24 21:05 mifi

is it possible to create a version that works with Node v20 ?. I get the following error when using "onoff": "^6.0.3"

Error: The module '/home/me/temp/pi-io/node_modules/epoll/build/Release/epoll.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 115. This version of Node.js requires
NODE_MODULE_VERSION 108. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
    at Module._extensions..node (node:internal/modules/cjs/loader:1460:18)

jkristia avatar Sep 08 '24 17:09 jkristia