onoff
onoff copied to clipboard
Epoll version upgrade for nodejs v20
Version upgrade to epoll v4.0.2
this is not necessary because the caret ^ will allow 4.0.2 to be installed. learn more: https://semver.org/
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)