Hi, im trying to implement supertokens as microservice by esm, but i get this. What is a problem?
i
Hi, im trying to implement supertokens as microservice by esm, but i get this. What is a problem?
r
hey! Which version of the SDK are you using? How are you importing?
and your import statemenet?
i
import UserMetadata from 'supertokens-node/recipe/usermetadata;
r
vs how are you importing other recipes?
i
i just understand problem
r
what was it?
i
i should import UserMetadata from 'supertokens-node/recipe/usermetadata/index.js
r
is that how you have imported other recipes?
i
other recipes is out of main module
r
hmm ok
i
so they compiles
Oh my
no
i should import like this everywhere
:/
r
hmm
i
so, its done and works, but can you see, what is this error talking about?
i have tried to find this in your code and did it, but i cannot understand why input for normalizeURLPathorThrowError is undefined?
r
What’s the supertokens config that you are giving?
5 Views