Hi, for some reason some of the node typescript de...
# support-questions
b
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
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
I don't see a "backend setup" in the list of User Guides
r
click on one of the guides
in there you will see a start here section on the left
and then follow along
b
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
yup. The express guide you linked to above is of a very, very, very old version