From 2e99185317bbd6278fadeb9cca4741303c6fbfe0 Mon Sep 17 00:00:00 2001 From: Daniel Lando Date: Mon, 12 Feb 2024 11:25:15 +0100 Subject: [PATCH] fix: node18.19 broken binaries Fixes #28 --- prelude/bootstrap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prelude/bootstrap.js b/prelude/bootstrap.js index 36aa2a4d..fe9e6b03 100644 --- a/prelude/bootstrap.js +++ b/prelude/bootstrap.js @@ -1879,7 +1879,7 @@ function payloadFileSync(pointer) { im = require('internal/module'); makeRequireFunction = im.makeRequireFunction; } else { - if (NODE_VERSION_MAJOR <= 18) { + if (NODE_VERSION_MAJOR < 18) { im = require('internal/modules/cjs/helpers'); } else { im = require('internal/modules/helpers');