'supabaseauth-helpers-nextjs' gives SyntaxError Unexpected token 'export'
Just adding '@supabase/auth-helpers-nextjs' so I can access user session in an API Route and this line:
Causes this message to appear in the terminal:
Without that import the endpoint is fine,
From my package.json:
All the client side auth seems to be working fine (I had to upgrade
Any ideas on how to fix this would be very appreciated.
Thanks
Causes this message to appear in the terminal:
Without that import the endpoint is fine,
From my package.json:
All the client side auth seems to be working fine (I had to upgrade
@supabase/supabase-js from 1.3.5 to 2.2.1)Any ideas on how to fix this would be very appreciated.
Thanks