Skip to content

Commit b7c69fd

Browse files
Copilothotlong
andcommitted
fix: remove erroneous 'cd apps/console' from Vercel buildCommand
Vercel's working directory is already apps/console (as confirmed by installCommand using 'cd ../..'), so 'cd apps/console' fails with 'No such file or directory'. Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent c58dad8 commit b7c69fd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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 apps/console && pnpm msw:init && NODE_OPTIONS=--max-old-space-size=4096 VITE_BASE_PATH=/ VITE_USE_MOCK_SERVER=true vite build",
4+
"buildCommand": "pnpm msw:init && NODE_OPTIONS=--max-old-space-size=4096 VITE_BASE_PATH=/ VITE_USE_MOCK_SERVER=true vite build",
55
"outputDirectory": "dist",
66
"framework": "vite",
77
"rewrites": [

0 commit comments

Comments
 (0)