Skip to content

Connection.js:191:10 Cannot read properties of undefined (reading 'fullcmd') #917

@ayounas02

Description

@ayounas02
image

sometimes I get this error. Can someone please share a fix for this issue?

`2024-05-01 15:55:05.623
at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
2024-05-01 15:55:05.623
at emitReadable_ (node:internal/streams/readable:832:12)

2024-05-01 15:55:05.623
at TLSSocket.emit (node:domain:488:12)
2024-05-01 15:55:05.623
at TLSSocket.emit (node:events:518:28)
2024-05-01 15:55:05.623
at Parser._cbReadable (/app/node_modules/imap/lib/Parser.js:53:12)
2024-05-01 15:55:05.623
at Parser._tryread (/app/node_modules/imap/lib/Parser.js:82:15)
2024-05-01 15:55:05.623
at Parser._parse (/app/node_modules/imap/lib/Parser.js:137:16)
2024-05-01 15:55:05.623
at Parser._resUntagged (/app/node_modules/imap/lib/Parser.js:271:10)
2024-05-01 15:55:05.623
at Parser.emit (node:domain:488:12)
2024-05-01 15:55:05.623
at Parser.emit (node:events:518:28)
2024-05-01 15:55:05.623
at Parser. (/app/node_modules/imap/lib/Connection.js:191:10)
2024-05-01 15:55:05.623
at Connection._resUntagged (/app/node_modules/imap/lib/Connection.js:1408:45)
2024-05-01 15:55:05.623
TypeError: Cannot read properties of undefined (reading 'fullcmd')
2024-05-01 15:55:05.623

2024-05-01 15:55:05.623
^
2024-05-01 15:55:05.623
if (/^(?:UID )?FETCH/.test(this._curReq.fullcmd)) {
2024-05-01 15:55:05.623
/app/node_modules/imap/lib/Connection.js:1408`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions