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 }; }