title: Nestjs --> starting at object with constructor 'Socket' | property 'parser' -> object with constructor 'HTTPParser'
body: <p>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 &quot;&quot;
  , It will throws the error of Failed to serialize user into session.
  <a href="https://i.stack.imgur.com/1Xm1H.png" rel="nofollow noreferrer">enter image description here</a>
  <a href="https://i.stack.imgur.com/NgrMe.png" rel="nofollow noreferrer">enter image description here</a></p>