SupabaseS
Supabase4y ago
Marc

auth-helpers-nextjs Module not found Can't resolve 'supabasesupabase-js'

I have been trying to add supabase v2 to my nextjs project.
I have installed these two packs:
"@supabase/auth-helpers-nextjs": "0.4.2",
"@supabase/auth-helpers-react": "0.3.1",

the _app.tsx I set up after the example. When I now start the application, this error occurs:
Module not found Can't resolve 'supabasesupabase-js'


When I add "@supabase/supabase-js": "2.0.4" as dev dependencie, I get the following error afterwards:
SyntaxError: Unexpected token 'export'

What am I doing wrong?
unknown.png
unknown.png
Was this page helpful?