You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Python project deployed to Vercel. Using Supabase CLI for local dev, db migrations etc. When building on Vercel, the vercel build process tries to open /supabase/migrations/*.sql but can't find those files. Not sure why vercel is trying to open those files, perhaps it opens all files; not sure why it can't find them.
To Reproduce
Create python project, deploy to vercel
install supabase cli locally, link to db, db pull migrations
push the updated project to github, deploy to vercel
Expected behavior
Vercel finds the supabase/migrations/*.sql files and does nothing with them, or ignores them
Screenshots
[Error: ENOENT: no such file or directory, open '/vercel/path0/supabase/migrations/{timestamp}_remote_schema.sql'] {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '/vercel/path0/supabase/migrations/{timestamp}_remote_schema.sql'
}
Error: An unexpected error occurred!
Error: ENOENT: no such file or directory, open '/vercel/path0/supabase/migrations/{timestamp}_remote_schema.sql'
Error: Command "vercel build" exited with 1
Command "vercel build" exited with 1
System information
Vercel project, python 3.12
Supabase CLI 2.20.5
Workaround / Solution
Adding supabase to .vercelignore
The text was updated successfully, but these errors were encountered:
Describe the bug
Python project deployed to Vercel. Using Supabase CLI for local dev, db migrations etc. When building on Vercel, the vercel build process tries to open /supabase/migrations/*.sql but can't find those files. Not sure why vercel is trying to open those files, perhaps it opens all files; not sure why it can't find them.
To Reproduce
Expected behavior
Vercel finds the supabase/migrations/*.sql files and does nothing with them, or ignores them
Screenshots
System information
Vercel project, python 3.12
Supabase CLI 2.20.5
Workaround / Solution
Adding
supabase
to.vercelignore
The text was updated successfully, but these errors were encountered: