Troubleshooting
Fixes for common problems.
Start with pnpm clubedge doctor. It checks Node.js and pnpm versions, conflict markers left by a change, installed dependencies, the lockfile, and the env files against their examples, then runs pnpm check:services.
add, remove, or upgrade left conflict markers in a package.json, and pnpm stops on them, pnpm clubedge included. Resolve the markers, then run pnpm install. To see which file and compare it with the Starter's version, run the CLI directly: pnpm dlx @clubedge/create-clubedge-app status (CLI 0.41.0 or newer). See Change a project.
Confirm you copied the example to apps/web/.env.local and set DATABASE_URL. The error names the module whose variables are invalid. With a separate API, or without a website, the API reads apps/api/.env.local, from apps/api/.env.example, and DATABASE_URL belongs there.
Add the exact local or deployed /auth/callback URL to Supabase Auth's allowed redirect URLs. On React + Vite, add the /login and /reset-password URLs instead. See Authentication.
Check that the API has the provider's server variables for the same project as the frontend's VITE_* values, and that the frontend was built with them. With VITE_API_URL set, the browser calls the API directly: set the API's FRONTEND_URL to the frontend's exact origin, which its CORS allows. With Better Auth, leave VITE_API_URL blank and set BETTER_AUTH_URL on both apps. With Firebase and Appwrite, the address must be confirmed first.
The frontend's production server forwards only the contract's GET /api/health, /api/ready, and /api/session, the endpoints of the modules you chose, and /api/auth/* with Better Auth, although the dev server forwards all of /api. Add a new endpoint to apiRoutes in apps/web/server.mjs, or set VITE_API_URL so the browser calls the API directly.
Check that WEB_URL in apps/shell/.env.local is the deployed website's https:// address, and that the website's MOBILE_ORIGINS lists the app's origins (capacitor://localhost,https://localhost by default). Then run pnpm --filter @clubedge/shell sync again. See The mobile app.
Check EXPO_PUBLIC_API_URL in apps/mobile/.env.local. A release build needs the website's https:// address, or the API's without a website, and a phone in development your computer's address on the same network, with port 3001 without a website. The value is built into the app, so build it again after changing it. See The native app.
Without a website, Supabase's confirmation and password reset links open the app through its address scheme once Supabase's Redirect URLs list it: add it, such as my-product://**. The local Supabase stack reads them from additional_redirect_urls in supabase/config.toml; restart it after adding the scheme. With a website, the links open the website instead.
Rate limits count requests per client address. Behind a proxy, without the setting for your host, the server can see the proxy's address on every request, so visitors share one count. Set CLIENT_IP_HEADER or TRUSTED_PROXY_HOPS for your host (Starter v0.27.0 or newer); pnpm clubedge deploy sets it for you. See Client addresses.
Check the URL, network access, and whether your provider expects a transaction pooler. Keep prepare: false for the current Supabase pooler setup.
Check that the URL uses redis:// or rediss://, credentials are current, and outbound TCP access is allowed.
Run pnpm exec playwright install chromium.
Retry with a normal registry-backed pnpm install; an incomplete local package cache can satisfy offline resolution while leaving package contents incomplete.
Review the package name and approve only the required dependency with pnpm approve-builds.
Get help
- CLI issues for problems creating, changing, or upgrading a project.
- Starter issues for problems in the generated application itself.
- Security problems go through the private process in the Starter's SECURITY.md, not public issues.
How is this guide?