https://supertokens.com/ logo
Title
l

lancekey

01/18/2023, 5:59 PM
I'm getting a type error when trying to setup ST error handler for nextjs
r

rp

01/19/2023, 5:09 AM
hey @lancekey
@porcellus can help out here.
p

porcellus

01/19/2023, 8:19 AM
hi
I think the issue might be different versions of
@types/express
have. if you send me the package.json (or package-lock.json) I might be able to figure it out.
l

lancekey

01/19/2023, 1:29 PM
Ah that makes sense. Here’s the dependencies in package.json
I’m not seeing @types/express which might be the issue. Will look closer when I’m on my laptop
npm i @types/express fixed this