Click signup → no loading, no error, no redirect
appears when:User clicks the signup button and the page does not change — no Console error visible unless DevTools is open
signup button does nothing
Silent signup failures are almost always a Supabase env var, a CORS block, or an RLS policy rejecting the profile insert. The error exists — the UI just never renders it.
NEXT_PUBLIC_SUPABASE_ANON_KEY), a CORS block, or a Supabase RLS rejection (PGRST116 / 42501). Add an onClick handler wrapped in try/catch that renders the error in the UI, not just console.log.How do I fix signup button does nothing?
01async function handleSignup() {02 setLoading(true);03 setError(null);04 try {05 const { error } = await supabase.auth.signUp({ email, password });06 if (error) throw error;07 router.push("/onboarding");08 } catch (e) {09 // Render this in the UI — never rely on console-only logging10 setError((e as Error).message);11 } finally {12 setLoading(false);13 }14}15 16// In JSX:17<button onClick={handleSignup} disabled={loading}>18 {loading ? "Signing up..." : "Sign up"}19</button>20{error && <p role="alert" style={{ color: "red" }}>{error}</p>}Not a developer? We fix this for you at a fixed price: $299 emergency triage, done in 48 hours or fully refunded. Not sure what else is broken? Send the repo for the $49 audit.
What if the quick fix doesn't work?
01 · Wrap the button in a form and use type='submit'
01// Both mouse and keyboard (Enter) submissions work02<form onSubmit={handleSignup}>03 <input name="email" type="email" required />04 <input name="password" type="password" required />05 <button type="submit" disabled={loading}>Sign up</button>06</form>02 · Move profile creation to a SECURITY DEFINER trigger
01create or replace function public.handle_new_user()02returns trigger03language plpgsql04security definer05set search_path = public06as $$07begin08 insert into public.profiles (id, email)09 values (new.id, new.email);10 return new;11end;12$$;13 14create trigger on_auth_user_created15 after insert on auth.users16 for each row execute function public.handle_new_user();Send your app URL. A senior engineer records a 10-minute teardown.
Free, and fully async — no call to book. A senior engineer walks your app on video: what’s broken, what’s risky, what to fix first. In your inbox within 24 hours. Want the code read line by line instead? Send the repo for the $49 audit.
Why do AI-built apps hit signup button does nothing?
Lovable, Bolt, and Cursor scaffold signup flows that call supabase.auth.signUp inside an onClick handler wrapped in a basic try block that catches but does not surface the error. The generated code often looks like try { await supabase.auth.signUp(...) } catch(e) { console.log(e) }. That satisfies the generator’s lint rules but leaves the user staring at an unchanged page. Button appears dead; the error landed in the devtools Console and nowhere else.
The most common underlying failure is a missing environment variable. AI generators write NEXT_PUBLIC_SUPABASE_URL and NEXT_PUBLIC_SUPABASE_ANON_KEY into a local .env file that never gets copied to Vercel. On production, the Supabase client initializes with undefined values, and every method call throws Cannot read properties of undefined. The user sees nothing because the error is caught by the silent try-catch.
The third common cause is Row-Level Security on a post-signup trigger. The auth.signUp call succeeds and creates a user in auth.users, but a trigger tries to insert a corresponding row into public.profiles and the RLS policy blocks it. Postgres returns 42501 or the Supabase client returns PGRST116. The user account exists but the profile is missing — a half-signed state the UI has no concept of handling.
Which AI builders ship signup button does nothing?
How often each AI builder ships this error and the pattern that produces it.
| Builder | Frequency | Pattern |
|---|---|---|
| Lovable | Every auth scaffold | try/catch logs to console, never surfaces to UI |
| Bolt.new | Common | Omits NEXT_PUBLIC_SUPABASE_ANON_KEY from Vercel deploy |
| v0 | Common | Button onClick handler not attached after hydration |
| Cursor | Sometimes | Profile insert trigger missing SECURITY DEFINER |
| Base44 | Rare | CORS origin list only contains localhost |
Related errors we fix
How do I stop signup button does nothing recurring?
- →Always render errors in the UI — never rely on console.log in production.
- →Validate process.env with zod at boot so missing NEXT_PUBLIC_SUPABASE_ANON_KEY fails the build.
- →Define post-signup profile triggers as SECURITY DEFINER with explicit search_path.
- →Add a Playwright test: fill the signup form, submit, assert redirect to /onboarding.
- →Log Supabase auth errors with error.message into an APM (Sentry) — they are invisible otherwise.
- →If your scaffold uses Clerk instead of Supabase, upgrade to Core 3 (March 2026, requires Node.js 20.9.0+): the redesigned useSignUp hook exposes fetch status and structured field-level errors directly, so loading and error state no longer need the hand-rolled wiring these silent failures hide in. Clerk Elements is deprecated in favor of the hooks.
Still stuck with signup button does nothing?
signup button does nothing questions
Why does my signup button do nothing when clicked?+
What does a CORS error look like in this case?+
How do I know if it is a missing environment variable?+
Can Supabase RLS cause a signup button to fail silently?+
How long does it take to fix a dead signup button?+
Ship the fix. Keep the fix.
Emergency Triage restores service in 48 hours. Break the Fix Loop rebuilds CI so this error cannot ship again.
Hyder Shah leads Afterbuild Labs, shipping production rescues for apps built in Lovable, Bolt.new, Cursor, Replit, v0, and Base44. our rescue methodology.