From 7d248c12888b67e4e61802e51eff725ea4f411ce Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Mon, 12 Feb 2024 15:37:07 +0100 Subject: [PATCH] apply https://github.com/storybookjs/storybook/pull/25934#discussion_r1486145990 --- code/lib/cli/src/autoblock/block-node-version.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/lib/cli/src/autoblock/block-node-version.ts b/code/lib/cli/src/autoblock/block-node-version.ts index aef0cc8b6b2b..fe35792a4a74 100644 --- a/code/lib/cli/src/autoblock/block-node-version.ts +++ b/code/lib/cli/src/autoblock/block-node-version.ts @@ -5,7 +5,7 @@ import { lt } from 'semver'; export const blocker = createBlocker({ id: 'minimumNode16', async check() { - const nodeVersion = process.version; + const nodeVersion = process.versions.node; if (lt(nodeVersion, '16.0.0')) { return { nodeVersion }; }