Cannot use 'supabase.auth.api.setAuthCookie'

I'm new to supabase and I've been following tutorials (supabase's and some others on the internet) but so far couldn't manage to make this work (see image). I'm trying to set up Authentication with Nextjs.
I'm using next(with ts) v12.3.1, node v18.1.0 and the last packages from supabase
Thanks in advance
unknown.png
Was this page helpful?