I'm using Supertokens for session management recip...
# support-questions-legacy
u
I'm using Supertokens for session management recipe only. I've encountered an error related to the 'middleware' property in the package. Here are the details of the issue: When running my tests, I'm getting an error that says: "Cannot read properties of undefined (reading 'middleware')". The error points to the file 'supertokens-node/lib/build/framework/express/index.js' at line 19. I have checked my installation and configuration, and I believe everything is set up correctly. I'm using the correct version of the supertokens-node package (insert version number) and have followed the setup instructions mentioned in the documentation. I have also verified that there are no conflicts or compatibility issues with other packages in my project. I'm unsure about the cause of this error and how to resolve it. I would greatly appreciate any insights or guidance you can provide to help me troubleshoot and fix this issue.
3 Views