if (process.versions.node !== '24.21.0') { throw new Error(`Expected Node 24.21.0, got ${process.versions.node}`); } if (!process.env.npm_config_user_agent?.startsWith('npm/11.19.0 ')) { throw new Error('Run build with npm 11.19.0'); }