From 322a5565684aca7d144f55c3365aae9b1ac4a66a Mon Sep 17 00:00:00 2001 From: Shrinish Vhanbatte Date: Fri, 17 Apr 2026 22:17:24 +0530 Subject: [PATCH] Add engines field to enforce Node.js >= 20 for Fastify v5 compatibility Fastify v5 uses diagnostics_channel.tracingChannel() which only exists in Node.js >= 20. Without an engines constraint, users on older Node versions hit a cryptic TypeError at startup. This gives a clear error at install time instead. Fixes: TE-12603 Co-Authored-By: Claude Opus 4.6 (1M context) --- package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index deaee65..7100cda 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lambdatest/smartui-cli", - "version": "4.1.63", + "version": "4.1.64", "description": "A command line interface (CLI) to run SmartUI tests on LambdaTest", "files": [ "dist/**/*" @@ -20,6 +20,9 @@ "smartui", "cli" ], + "engines": { + "node": ">=20" + }, "author": "LambdaTest ", "license": "MIT", "dependencies": {