From 117c770fa68cd54d1e70d35762228b4ec0d2b423 Mon Sep 17 00:00:00 2001 From: cryptotavares Date: Mon, 2 Nov 2026 17:12:34 +0000 Subject: [PATCH] ci: pin Node.js to 24.22.1 in .nvmrc .nvmrc was lts/*, which now resolves to Node 26 (LTS since 2026-10-28). The Check workflows job uses .nvmrc, and on Node 26 its install fails: the allow-scripts plugin runs @lavamoat/allow-scripts, which loads yargs 17.7.2 (require('yargs/yargs') is an extension-less file in an ESM package) and throws 'require is not defined in ES module scope'. Pin the supported Node 24 release. --- .nvmrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.nvmrc b/.nvmrc index b009dfb..474d750 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -lts/* +v24.22.1