supabase-community / auth-ui

Pre-built Auth UI for React
https://supabase.com/docs/guides/auth/auth-helpers/auth-ui
MIT License
487 stars 121 forks source link

Support React v ^18 #25

Closed sos0 closed 1 year ago

sos0 commented 2 years ago

While attempting to install auth-ui with the nextjs project:

❯ npm install @supabase/supabase-js@rc @supabase/auth-ui-react
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: supabase-nextjs@0.1.0
npm ERR! Found: react@18.2.0
npm ERR! node_modules/react
npm ERR!   react@"18.2.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.13.1 || ^17.0.1" from @supabase/auth-ui-react@0.1.7
npm ERR! node_modules/@supabase/auth-ui-react
npm ERR!   @supabase/auth-ui-react@"*" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
silentworks commented 1 year ago

I'm closing this as its an old issue and I don't think it exists anymore. If you do find that this is still an issue please reopen this issue.