Closed denismart closed 2 years ago
Hello @denismart sorry you are having trouble. I am not 100% familiar with Next.js, but that error would indicate that whatever context.req
refers to is not an actual Node.js HTTP IncomingMessage object. This module expects the first argument to be an IncomingMessage object.
Running with Next.js on localhost and getting:
TypeError: Cannot read property 'encrypted' of undefined
Here is fragment of code: