I get error - Please call the supertokens.init fun...
# general
d
I get error - Please call the supertokens.init function before using SuperTokens even if I call this function with all required arguments. Does anybody have idea why this would happen?
r
Which function are you trying to call?
d
supertokens.init()
r
Huh.. so is that all you call? Are you sure?
Do you use any other imports from our lib?
d
r
If you can share your code, we can have a look
d
But after the second step it keeps saying that https://supertokens.com/docs/passwordless/quick-setup/backend
Currently, I try to do it other way
I decided to move SP related logic in separate repo from Sapper
But as I try to use SP with Fastify I also face a bunch of errors
Is there any example repo of SuperTokens integrated in Fastify server?
r
@User we don't have an example of supertokens + fastify. But the docs code snippets should work. If you can upload your code to github and share that, it would help
5 Views