https://supertokens.com/ logo
Title
a

Andhika Gaki

01/30/2023, 12:41 PM
Hi everyone, i tried to get react SDK for trying to apply passwordless API and seen some of SDK is missing. i've been looking on the github itself and still doesnt get the missing SDK, anyone know how to resolve?
r

rp

01/30/2023, 12:50 PM
hey! Are you using yarn?
@Andhika Gaki
a

Andhika Gaki

01/30/2023, 12:56 PM
Thank for reaching me out, i was using npx for installing the step
r

rp

01/30/2023, 1:11 PM
which version of npm
?
can you show me the command you used please?
@porcellus can help
a

Andhika Gaki

01/30/2023, 3:24 PM
Sorry for late reply, here @porcellus
p

porcellus

01/30/2023, 3:25 PM
ah, I see. which npm version are you using?
ah. in that case you need to install
supertokens-web-js
in the frontend folder
I'll check if we can detect/improve this in
create-supertokens-app
a

Andhika Gaki

01/30/2023, 3:29 PM
wait let me try
cool the error is gone thank, is there any documentation for any missing file like that?
p

porcellus

01/30/2023, 3:32 PM
it's not really a missing file, npmv6 doesn't install missing peer dependencies, just shows a warning while after v7 (and before v3 I think) it manages them automatically
a

Andhika Gaki

01/30/2023, 3:36 PM
ah i see, the case i closed, thank, i'll continue setup for the BE