Skip to content

Commit 2b7e2e7

Browse files
Copilothotlong
andauthored
fix(studio): change Vercel runtime from @vercel/node@3 to nodejs20.x
The `@vercel/node@3` runtime specifier is no longer recognized by Vercel CLI 50.x. Use the standard `nodejs20.x` format instead. Fixes: "Function Runtimes must have a valid version" deployment error Agent-Logs-Url: https://github.com/objectstack-ai/spec/sessions/59d30bb9-1607-4c8c-9a2d-64c755f50454 Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent f0017e1 commit 2b7e2e7

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

apps/studio/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@
1111
- Added `buildServiceEndpoints()` helper for generating endpoint definitions from a service name and route prefix
1212
- Updated group sort order to include service groups between Auth and Metadata
1313

14+
### Fixes
15+
16+
- **Vercel deployment: Fix `@vercel/node@3` runtime error**
17+
- Changed `vercel.json` functions runtime from deprecated `@vercel/node@3` to `nodejs20.x` to fix Vercel CLI 50.x build error: "Function Runtimes must have a valid version"
18+
1419
## 3.3.1
1520

1621
### Patch Changes

apps/studio/vercel.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"outputDirectory": "dist",
77
"functions": {
88
"api/index.js": {
9-
"runtime": "@vercel/node@3"
9+
"runtime": "nodejs20.x"
1010
}
1111
},
1212
"build": {

0 commit comments

Comments
 (0)