Skip to content

Fix deploy: lazy-init Supabase/Resend so build passes without env - #96

Merged
Aryan95614 merged 1 commit into
devfrom
Aryan/lazy-env-build
Oct 20, 2026
Merged

Aryan95614 merged 1 commit into
devfrom
Aryan/lazy-env-build

Conversation

@Aryan95614

Copy link
Copy Markdown
Contributor

CI Build and Vercel deploys fail with 'supabaseUrl is required' (Failed to collect page data for /api/admin/checkin): clients were created at import time. Now created on first use. Verified: next build passes with no env vars set.

🤖 Generated with Claude Code

Build failed in CI/Vercel with 'supabaseUrl is required' because clients
were created at import time. Create them on first use instead.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
tedx-site Error Error Oct 20, 2026 8:25pm UTC
tedx-website Error Error Oct 20, 2026 8:25pm UTC
website Error Error Oct 20, 2026 8:25pm UTC

@netlify

netlify Bot commented Oct 20, 2026

Copy link
Copy Markdown

❌ Deploy Preview for tedxuw-2025 failed.

Name Link
🔨 Latest commit 7d2be88
🔍 Latest deploy log https://app.netlify.com/projects/tedxuw-2025/deploys/6ad7cd56d1bdf7b19372475e

@Aryan95614
Aryan95614 merged commit 18377de into dev Oct 20, 2026
4 of 11 checks passed

This branch had an error being deployed

3 failed deployments
Preview – tedx-site — 7d2be886 Deployed Oct 20, 2026 by vercel[bot]
Preview – tedx-website — 7d2be886 Deployed Oct 20, 2026 by vercel[bot]
Preview – website — 7d2be886 Deployed Oct 20, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant