我不知道为什么但是突然间,每当我尝试登录我的应用时,我都会收到以下错误:
.\node_modules\imap\lib\Connection.js:206
var type = self._curReq.type;
TypeError: Cannot read property 'type' of undefined
at Parser.<anonymous> (.\node_modules\imap\lib\Connection.js:206:28)
at Parser.emit (events.js:95:17)
at Parser._resContinue (.\node_modules\imap\lib\Parser.js:295:8)
at Parser._parse (.\node_modules\imap\lib\Parser.js:140:16)
at Parser._tryread (.\node_modules\imap\lib\Parser.js:82:15)
at CleartextStream.Parser._cbReadable (.\node_modules\imap\lib\Parser.js:53:12)
at CleartextStream.emit (events.js:92:17)
at emitReadable_ (_stream_readable.js:410:10)
at _stream_readable.js:403:7
at process._tickCallback (node.js:419:13)```
我尝试对这些行进行注释,但每次都会出现以下错误:
events.js:72
throw er; // Unhandled 'error' event
Error: Timed out while authenticating with server
at null._onTimeout (.\node_modules\imap\lib\Connection.js:133:17)
at Timer.listOnTimeout [as ontimeout] (timers.js:110:15)```
有时我也得到第二个而不是第一个,即使这些行没有被注释。 有没有人知道发生了什么?解决方案或至少是解释?