Conversation
Supabase Integration(oac_VqOgBHqhEoFTPzGkPd7L0iH6)을 통해 Supabase 환경변수 자동 설정 및 마이그레이션 자동 실행. Uploadcare/OpenAI 키는 선택적 수동 입력. #80 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
604ba35e02c6c280.js:1 [🍉] [Loki] Initializing IndexedDB Check your Supabase project's API settings to find these values https://supabase.com/dashboard/project/_/settings/api Check your Supabase project's API settings to find these values https://supabase.com/dashboard/project/_/settings/api Application error: a client-side exception has occurred (see the browser console for more information). 2026-03-25 09:53:57.939 [error] Middleware error: [Error: Your project's URL and Key are required to create a Supabase client! Check your Supabase project's API settings to find these values https://supabase.com/dashboard/project/_/settings/api] 2026-03-25 09:53:58.654 [error] Error: @supabase/ssr: Your project's URL and API key are required to create a Supabase client! Check your Supabase project's API settings to find these values https://supabase.com/dashboard/project/_/settings/api 앱을 실행했을 때 위와 같은 오류가 발생함. |
- Deploy URL에서 Uploadcare/OpenAI 환경변수 입력 단계 제거 - next.config.js에 Supabase 환경변수 매핑 추가 (SUPABASE_URL → NEXT_PUBLIC_SUPABASE_URL) (SUPABASE_PUBLISHABLE_KEY → NEXT_PUBLIC_SUPABASE_ANON_KEY) #80 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-25 12:19:15.010 [error] Error: @supabase/ssr: Your project's URL and API key are required to create a Supabase client! Check your Supabase project's API settings to find these values https://supabase.com/dashboard/project/_/settings/api 2026-03-25 12:19:14.925 [error] Middleware error: [Error: Your project's URL and Key are required to create a Supabase client! Check your Supabase project's API settings to find these values https://supabase.com/dashboard/project/_/settings/api] 여전히 오류가 발생합니다. deploy 에서 add integrations에서 supabase add를 했음에도 자동으로 supabase의 환경변수가 vercel project에 주입되지 않고 있는 것 같습니다. |
When deploying via Vercel Deploy Button, Supabase Integration may not be connected yet, leaving env vars unset. Previously the app crashed with "@supabase/ssr: Your project's URL and API key are required". - Add supabase/utils/config.ts with shared env var check helpers - middleware.ts: skip updateSession when Supabase is not configured - client.ts, server.ts, super.ts: throw descriptive error instead of passing undefined via non-null assertion - Add unit tests for config helpers Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Supabase 환경변수 미설정 시 크래시 방지 수정 완료변경 내용문제: Vercel Deploy Button으로 배포 후 Supabase Integration이 연결되지 않은 상태에서 앱이 크래시 원인: 모든 Supabase 클라이언트 생성 코드에서 수정:
동작 방식:
테스트 결과
|
🔍 Supabase Vercel Integration 환경변수 미주입 문제 조사 결과결론: 알려진 버그입니다이 문제는 Supabase GitHub에 정식으로 등록된 버그이며, 다수의 사용자가 동일한 현상을 보고하고 있습니다. 의도된 동작이 아닙니다. 관련 이슈/토론
문제 발생 조건
회피 방법 (권장순)방법 1: 환경변수 수동 설정 (가장 안정적)
방법 2: Deploy Button URL에
|



Summary
oac_VqOgBHqhEoFTPzGkPd7L0iH6)을 통해 Supabase 환경변수(NEXT_PUBLIC_SUPABASE_URL,NEXT_PUBLIC_SUPABASE_ANON_KEY,SUPABASE_SERVICE_ROLE_KEY) 자동 설정 및supabase/migrations/마이그레이션 자동 실행vercel.json수정 불필요 — Deploy Button URL 파라미터만으로 충분Closes #80
Test plan
🤖 Generated with Claude Code