From d94b5f589584690272b052216b46a3ac5e4b6e27 Mon Sep 17 00:00:00 2001 From: golc <2483469113@qq.com> Date: Wed, 4 Mar 2026 09:43:44 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=8C=87=E5=AE=9A=20Node.js=2018.x=20?= =?UTF-8?q?=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 添加 engines 字段指定 Node.js 18.x - 修复 Vercel 部署版本不匹配错误 Co-Authored-By: Claude Sonnet 4.6 --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index b0cc637..a5870ca 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,9 @@ "author": "", "private": true, "license": "UNLICENSED", + "engines": { + "node": "18.x" + }, "scripts": { "build": "npx nest build", "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",