Repository: upptime/upptime

Issue #800: [Bug] suddenly getting `compiled against a different Node.js version using [...]`
Created: 2023-06-14T11:44:48Z
Describe the bug
For 20 minutes now I'm suddenly getting failed workflows:
Error: The module '/home/runner/work/_actions/upptime/uptime-monitor/master/dist/lib/binding/node_libcurl.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 72. This version of Node.js requires
NODE_MODULE_VERSION 93. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).

I did not change any config there for a couple of weeks, so it's strange that this is suddenly happening.
I noticed that the image it runs on, is ubuntu with node 18. Maybe the action is expecting node 12 (linked to #770?)
I also tried Update Template CI, but it fails with the same error. https://github.com/Dein-Ticket-Shop/status/actions/runs/5266613094/jobs/9520760021
To Reproduce
not sure, check https://github.com/Dein-Ticket-Shop/status/actions/runs/5266572586/jobs/9520667161 as an example for a broken run.
Strangely, it works fine in another status repository of a different organization.
Expected behavior
It works ;-)
Screenshots
If applicable, add screenshots to help explain your problem.


Desktop (please complete the following information):
n/a
Smartphone (please complete the following information):
n/a
Additional context
https://github.com/actions/runner-images/blob/ubuntu20/20230517.1/images/linux/Ubuntu2004-Readme.md#language-and-runtime

Duplicate issue #981: All workflows except for 'Update Template' fail to run
Created: 2024-07-04T23:48:31Z
Describe the bug
All workflows fail to run with the error:
Error: The module '/home/runner/work/_actions/upptime/uptime-monitor/v1.30.0/dist/lib/binding/node_libcurl.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 93. This version of Node.js requires
NODE_MODULE_VERSION 115. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
    at Object.Module._extensions..node (node:internal/modules/cjs/loader:1454:18)
    at Module.load (node:internal/modules/cjs/loader:1208:32)
    at Function.Module._load (node:internal/modules/cjs/loader:1024:12)
    at Module.require (node:internal/modules/cjs/loader:1233:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.17001 (/home/runner/work/_actions/upptime/uptime-monitor/v1.30.0/webpack:/@upptime/uptime-monitor/node_modules/node-libcurl/lib/binding/node_libcurl.node:1:1)
    at __nccwpck_require__ (/home/runner/work/_actions/upptime/uptime-monitor/v1.30.0/webpack:/@upptime/uptime-monitor/webpack/bootstrap:21:1)
    at Object.30376 (/home/runner/work/_actions/upptime/uptime-monitor/v1.30.0/webpack:/@upptime/uptime-monitor/node_modules/node-libcurl/dist/Easy.js:5:1)
    at __nccwpck_require__ (/home/runner/work/_actions/upptime/uptime-monitor/v1.30.0/webpack:/@upptime/uptime-monitor/webpack/bootstrap:21:1)
    at Object.95018 (/home/runner/work/_actions/upptime/uptime-monitor/v1.30.0/webpack:/@upptime/uptime-monitor/node_modules/node-libcurl/dist/Curl.js:17:1)

To Reproduce
Steps to reproduce the behavior:

Go to Actions
Click run on any action
Action fails unless it's 'Update Template'

Expected behavior
Actions should run without the above error
Screenshots

Desktop (please complete the following information):

OS: macOS
Browser: Orion
Version: 0.99.127.3-beta

Upptimerc.yml
https://github.com/Whipcode-API/upptime/blob/master/.upptimerc.yml
PS. I have the uptime ci disabled temporarily since this issue started happening

Closing comment (2024-07-05T10:59:20Z): Closing as duplicate of #800. I'm going to try and figure this out asap!