Skip to content

Commit a4de8a7

Browse files
Copilothotlong
andauthored
fix(console): remove non-existent msw:init from Vercel build command
The buildCommand in vercel.json referenced `pnpm msw:init` but no such script exists in apps/console/package.json, causing exit code 254. Since VITE_USE_MOCK_SERVER=false in the Vercel deploy (server mode), MSW is not needed and the step can be safely removed. Agent-Logs-Url: https://github.com/objectstack-ai/objectui/sessions/debc340f-7dee-423b-a14b-beddf51c85dc Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent bf0a0cd commit a4de8a7

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1212
- **`@object-ui/fields`**: Fixed flaky `RecordPickerDialog` test that asserted
1313
`renderGrid` slot props before async data fetch had completed. The test now
1414
awaits the final render with populated records before asserting.
15+
- **`apps/console`**: Removed non-existent `pnpm msw:init` step from Vercel
16+
build command that caused deployment failures (exit code 254).
1517

1618
### Changed
1719

apps/console/vercel.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://openapi.vercel.sh/vercel.json",
33
"installCommand": "cd ../.. && pnpm install --frozen-lockfile",
4-
"buildCommand": "cd ../.. && pnpm --filter @object-ui/app-shell... build && cd apps/console && pnpm msw:init && NODE_OPTIONS=--max-old-space-size=4096 VITE_USE_MOCK_SERVER=false VITE_BASE_PATH=/ vite build",
4+
"buildCommand": "cd ../.. && pnpm --filter @object-ui/app-shell... build && cd apps/console && NODE_OPTIONS=--max-old-space-size=4096 VITE_USE_MOCK_SERVER=false VITE_BASE_PATH=/ vite build",
55
"outputDirectory": "dist",
66
"framework": "vite",
77
"rewrites": [

0 commit comments

Comments
 (0)