© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3y ago•
4 replies
Reddy

npx supabase start is failing w/ already exists errors

I started seeing below error since yesterday and I have been noodling to fix it.

null value in column \"provider_id\" of relation \"identities\" violates not-null constraint
null value in column \"provider_id\" of relation \"identities\" violates not-null constraint


Tried several solutions like removing
supabase/.temp
supabase/.temp
, checking my
seed.sql
seed.sql
for auth."identities" references etc. But that didn't work.

Upgraded my CLI to latest cli (Tried both npx and brew versions). And now I am seeing below error whenever I run
npx supabase start
npx supabase start


ERROR: type "invitation_status" already exists (SQLSTATE 42710)    
At statement 18: CREATE TYPE "public"."invitation_status" AS ENUM (
    'accepted',
    'pending',
    'rejected'
)
ERROR: type "invitation_status" already exists (SQLSTATE 42710)    
At statement 18: CREATE TYPE "public"."invitation_status" AS ENUM (
    'accepted',
    'pending',
    'rejected'
)


The above SQL statement is from my first migration sql file under migrations folder. First started seeing above error when I run
npx supabase db reset
npx supabase db reset
but now it's happening on start itself.

Any help please? I have been trying different solutions since yesterday w/o any luck. Also tried uninstalled and reinstalled Docker.
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Config.TOML file not updating on npx Supabase Start
SupabaseSSupabase / help-and-questions
3y ago
prepared statement s0 already exists
SupabaseSSupabase / help-and-questions
4y ago
`supabase start` errors with `Invalid Compact JWS`
SupabaseSSupabase / help-and-questions
6mo ago
npx supabase login not working
SupabaseSSupabase / help-and-questions
6mo ago