Thread
#general
    d

    DlyaSeba365

    6 months ago
    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

    rp

    6 months ago
    Which function are you trying to call?
    d

    DlyaSeba365

    6 months ago
    supertokens.init()
    r

    rp

    6 months ago
    Huh.. so is that all you call? Are you sure?
    Do you use any other imports from our lib?
    d

    DlyaSeba365

    6 months ago
    r

    rp

    6 months ago
    If you can share your code, we can have a look
    d

    DlyaSeba365

    6 months ago
    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

    rp

    6 months ago
    @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