© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•2y ago•
2 replies
phil

TS2339: Property  weak_password  does not exist on type

I have an issue with
node_modules/@supabase/gotrue-js/src/lib/fetch.ts
node_modules/@supabase/gotrue-js/src/lib/fetch.ts
and specifically
_sessionResponsePassword
_sessionResponsePassword


weak_password does not exist on type and so deploys for me break due to the typescript error.

node_modules/@supabase/gotrue-js/src/lib/fetch.ts(191,19): error TS2339: Property 'weak_password' does not exist on type '{ user: User; session: Session; weak_password?: WeakPassword; } | { user: null; session: null; }'.
  Property 'weak_password' does not exist on type '{ user: null; session: null; }'.
node_modules/@supabase/gotrue-js/src/lib/helpers.ts(101,30): error TS2556: A spread argument must either have a tuple type or be passed to a rest parameter.
node_modules/@supabase/gotrue-js/src/lib/fetch.ts(191,19): error TS2339: Property 'weak_password' does not exist on type '{ user: User; session: Session; weak_password?: WeakPassword; } | { user: null; session: null; }'.
  Property 'weak_password' does not exist on type '{ user: null; session: null; }'.
node_modules/@supabase/gotrue-js/src/lib/helpers.ts(101,30): error TS2556: A spread argument must either have a tuple type or be passed to a rest parameter.

Has anyone encountered this?

package:
"@supabase/auth-helpers-nextjs": "^0.9.0",
"@supabase/ssr": "^0.1.0",
"@supabase/supabase-js": "^2.39.3",
"typescript": "^5.3.3"
"@supabase/auth-helpers-nextjs": "^0.9.0",
"@supabase/ssr": "^0.1.0",
"@supabase/supabase-js": "^2.39.3",
"typescript": "^5.3.3"
image.png
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

Property 'userStorage' does not exist on type 'SupabaseAuthClientOptions'
SupabaseSSupabase / help-and-questions
5mo ago
Property 'signIn' does not exist on type 'SupabaseAuthClient'.
SupabaseSSupabase / help-and-questions
4y ago
Property 'signIn' does not exist on type 'SupabaseAuthClient'.
SupabaseSSupabase / help-and-questions
4y ago
on().subscribe() - Property 'on' does not exist on type PostgrestQueryBuilder
SupabaseSSupabase / help-and-questions
4y ago