Closed alexiri closed 2 years ago
And of course, just after posting that I noticed that it was trying to install epoll@1.0.2, which is pretty old. It's strange, because my package.json
had this:
{
"dependencies": {
"cron": "^1.3.0",
"onoff": "^1.1.9"
}
}
I deleted those dependencies, reran npm install --save cron onoff
and this time it worked and my package.json
now looks like this:
{
"dependencies": {
"cron": "^1.8.2",
"onoff": "^6.0.3"
}
}
I'm trying to install onoff on a Raspberry Pi 3 and it's failing due to an epoll error, apparently. The OS is DietPi, which is based on Debian 11 bullseye. It's a freshly-installed system, the Node version is v16.14.2 and npm is v8.7.0.
Issue #44 seems similar, but this doesn't seem to be a Python issue. In the debug logs below you can see it finds Python 3.9.2. Any idea what's wrong here? Thanks a lot in advance!