From 00bd8578b56ce10208af6bb515d07e5d0039f48c Mon Sep 17 00:00:00 2001 From: cryptotavares Date: Mon, 2 Nov 2026 18:05:32 +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