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
Shoodey17mo ago
Maybe would be more helpful if you could share you middleware code, or a public git repo?
T
T17mo ago
I figured it out. Node was out of date I just updated and it's fixed