'Nestjs --> starting at object with constructor 'Socket' | property 'parser' -> object with constructor 'HTTPParser'

I use my app of nestjs. It throws an error of JSON.stringfy in passport,when i was using the serializeUser. And i change the user to "" , It will throws the error of Failed to serialize user into session. enter image description here enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source