Prerequisites
Before you begin, ensure you have the following installed:| Tool | Version | Install |
|---|---|---|
| Node.js | 20+ | nodejs.org |
| pnpm | 10+ | corepack enable && corepack prepare pnpm@latest --activate |
| Supabase CLI | Latest | pnpm add -g supabase |
| Git | 2.40+ | git-scm.com |
Clone and Install
Install dependencies
apps/web and everything under packages/*.Link to Supabase project
Environment Variables
Copy the example env file and fill in values:.env.local:
Run the Dev Server
http://localhost:3000 with Turbopack.
The monorepo uses pnpm workspaces. The
dev script in the root package.json delegates to apps/web.Supabase Local Development (Optional)
To run Supabase locally for offline development:.env.local to point to the local endpoints printed by supabase start.
Common Issues
pnpm install fails with peer dependency errors
pnpm install fails with peer dependency errors
Run with the
--no-strict-peer-dependencies flag or ensure you are on pnpm 10+. The workspace is configured for pnpm 10 resolution behavior.Supabase link prompts for password
Supabase link prompts for password
You need a personal access token, not your Supabase password. Go to Dashboard > Account > Access Tokens.
Port 3000 already in use
Port 3000 already in use
Kill the existing process or start on a different port:
TypeScript errors on fresh clone
TypeScript errors on fresh clone
Run the full build once to generate types:Then restart your IDE to pick up generated Supabase types.
Edge Functions not found locally
Edge Functions not found locally
Ensure Docker is running and you have started Supabase locally with
supabase start. Edge Functions require the Deno runtime container.