https://supertokens.com/ logo
Title
b

Birk Skyum

11/18/2022, 10:47 AM
Hi, for some reason some of the node typescript definitions doesn't work for me. Here is a small repro showing how I experience the middleware and errorHandler properties not being linked properly https://stackblitz.com/edit/typescript-qopxcd?file=index.ts
r

rp

11/18/2022, 10:49 AM
hey! the import statements for the middleware and error handlers are wrong
if you see the guides we have -> backend setup -> then you will find the right imports for them based on the node framework you use
b

Birk Skyum

11/18/2022, 10:51 AM
I don't see a "backend setup" in the list of User Guides
r

rp

11/18/2022, 10:51 AM
click on one of the guides
in there you will see a start here section on the left
and then follow along
b

Birk Skyum

11/18/2022, 10:52 AM
Oh, it's completely different from the express guide I found previously https://supertokens.com/docs/nodejs/2.0.x/usage-with-express/setup
Thanks!
r

rp

11/18/2022, 10:52 AM
yup. The express guide you linked to above is of a very, very, very old version