https://supertokens.com/ logo
peer dependency question
n

Nelmin

03/19/2023, 3:06 PM
Why do I get this warning? I used the Next.js Social Login and Email Password login
r

rp

03/19/2023, 3:07 PM
you need to also install supertokens-web-js
(as our docs say)
n

Nelmin

03/19/2023, 3:09 PM
I thought that the
npx create-supertokens-app@latest --recipe=thirdpartyemailpassword
command would do it automaticly
r

rp

03/19/2023, 3:09 PM
hmm. It should have. Which version of npm are you using?
maybe it already has. If you try running the demo app, and it works, then it already has
n

Nelmin

03/19/2023, 3:11 PM
the newest pnpm version
r

rp

03/19/2023, 3:11 PM
i see.
did the demo app work though?
n

Nelmin

03/19/2023, 3:12 PM
I didn't try it yet
r

rp

03/19/2023, 3:12 PM
can you try and see?
this one?
r

rp

03/19/2023, 3:13 PM
the one that was generated by the CLI
n

Nelmin

03/19/2023, 3:17 PM
bat
Module not found: Can't resolve 'supertokens-web-js/utils/postSuperTokensInitCallbacks'
r

rp

03/19/2023, 3:17 PM
right. So go into the demo app, and install supertokens-web-js as well
n

Nelmin

03/19/2023, 3:17 PM
I did
r

rp

03/19/2023, 3:17 PM
in the frontend folder
n

Nelmin

03/19/2023, 3:17 PM
It works now
r

rp

03/19/2023, 3:17 PM
cool
n

Nelmin

03/19/2023, 3:18 PM
thank you