diff --git a/src/esm/api/register.ts b/src/esm/api/register.ts index f5bf2b13..89c9f0c6 100644 --- a/src/esm/api/register.ts +++ b/src/esm/api/register.ts @@ -37,7 +37,7 @@ export const register: Register = ( options, ) => { if (!module.register) { - throw new Error(`This version of Node.js (${process.version}) does not support module.register(). Please upgrade to Node v18.9 or v20.6 and above.`); + throw new Error(`This version of Node.js (${process.version}) does not support module.register(). Please upgrade to Node v18.19 or v20.6 and above.`); } if (!cjsInteropApplied) {