@echo off chcp 65001 >nul cd /d "%~dp0" where node >nul 2>nul if errorlevel 1 ( echo 未检测到 Node.js。请先安装 Node.js 22.13 或更高版本:https://nodejs.org/ pause exit /b 1 ) node -e "const [a,b]=process.versions.node.split('.').map(Number);if(a<22||(a===22&&b<13)){console.error('当前 Node.js '+process.version+' 过低,需要 22.13 及以上。');process.exit(1)}" if errorlevel 1 ( pause exit /b 1 ) if not exist node_modules ( echo 正在安装依赖... call npm install ) echo 正在启动智慧运营中台... call npm start pause