Error when using middleware

I'm trying to use middleware in my T3 project and even with a pretty much empty middleware function, I get this error
Error [TypeError]: Class extends value undefined is not a constructor or null
What am I doing wrong?
2 Replies
Shoodey
Shoodey2y ago
Maybe would be more helpful if you could share you middleware code, or a public git repo?
T
TOP2y ago
I figured it out. Node was out of date I just updated and it's fixed
Want results from more Discord servers?
Add your server