https://supertokens.com/ logo
r

romanpalenik

06/14/2022, 2:05 PM
Hi, i am using supertokens with nextjs and as i following tutorial and file structure i have this error: You cannot define a route with the same specificity as a optional catch-all route ("/auth" and "/auth[[...path]]"). May i ask what i am doing wrong or how should my pages file looks like?
r

rp

06/14/2022, 2:12 PM
Hey! What’s the name of the file you created
r

romanpalenik

06/14/2022, 2:13 PM
these are files that i created to supertokens
r

rp

06/14/2022, 2:41 PM
hmm. this seems about right
is the hello.ts file in the auth folder? Or in the api folder?
r

romanpalenik

06/14/2022, 2:52 PM
in my api folder
r

rp

06/14/2022, 2:55 PM
do you also have an auth.ts or auth.tsx file?