Skip to content

"Vibe-Trading: Your Personal Trading Agent"

chore(frontend): declare the Node 22 requirement

Haozhe Wu749c37b09f9d
diff --git a/README.md b/README.md
index 87a830238..3d98c9f42 100644
--- a/README.md
+++ b/README.md
@@ -677,7 +677,7 @@ vibe-trading # Launch interactive TUI
vibe-trading serve --port 8899
# Terminal 2: Frontend dev server
-cd frontend && npm install && npm run dev
+cd frontend && npm install && npm run dev # requires Node >= 22.22
```
Open `http://localhost:5899`. The frontend proxies API calls to `localhost:8899`.
diff --git a/README_ar.md b/README_ar.md
index 48cbafc97..b883bac80 100644
--- a/README_ar.md
+++ b/README_ar.md
@@ -639,7 +639,7 @@ vibe-trading # Launch interactive TUI
vibe-trading serve --port 8899
# Terminal 2: Frontend dev server
-cd frontend && npm install && npm run dev
+cd frontend && npm install && npm run dev # يتطلب Node >= 22.22
```
افتح `http://localhost:5899`. تمرر الواجهة الأمامية استدعاءات API إلى `localhost:8899`.
diff --git a/README_ja.md b/README_ja.md
index 471d9bb5e..f1f05e704 100644
--- a/README_ja.md
+++ b/README_ja.md
@@ -639,7 +639,7 @@ vibe-trading # Launch interactive TUI
vibe-trading serve --port 8899
# Terminal 2: Frontend dev server
-cd frontend && npm install && npm run dev
+cd frontend && npm install && npm run dev # Node >= 22.22 が必要
```
`http://localhost:5899` を開きます。frontend は API calls を `localhost:8899` へ proxy します。
diff --git a/README_ko.md b/README_ko.md
index c4d6cea79..a6c5aeea6 100644
--- a/README_ko.md
+++ b/README_ko.md
@@ -639,7 +639,7 @@ vibe-trading # Launch interactive TUI
vibe-trading serve --port 8899
# Terminal 2: Frontend dev server
-cd frontend && npm install && npm run dev
+cd frontend && npm install && npm run dev # Node >= 22.22 필요
```
`http://localhost:5899`를 여세요. Frontend는 API 호출을 `localhost:8899`로 proxy합니다.
diff --git a/README_zh.md b/README_zh.md
index cbc2f3444..618a7e52f 100644
--- a/README_zh.md
+++ b/README_zh.md
@@ -666,7 +666,7 @@ vibe-trading # Launch interactive TUI
vibe-trading serve --port 8899
# Terminal 2: Frontend dev server
-cd frontend && npm install && npm run dev
+cd frontend && npm install && npm run dev # 需要 Node >= 22.22
```
打开 `http://localhost:5899`。前端会将 API 调用代理到 `localhost:8899`。
diff --git a/frontend/package-lock.json b/frontend/package-lock.json
index 28f10c618..244237073 100644
--- a/frontend/package-lock.json
+++ b/frontend/package-lock.json
@@ -46,6 +46,9 @@
"typescript": "^5.7.0",
"vite": "^6.4.3",
"vitest": "^4.1.0"
+ },
+ "engines": {
+ "node": ">=22.22.0"
}
},
"node_modules/@adobe/css-tools": {
diff --git a/frontend/package.json b/frontend/package.json
index c439531b5..438679dc3 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -3,6 +3,9 @@
"private": true,
"version": "0.1.12",
"type": "module",
+ "engines": {
+ "node": ">=22.22.0"
+ },
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",