Skip to content

headerSent undefined #4547

@b-hdev

Description

@b-hdev

whenever I try to start the bot it presents this error, but I never saw this error happen.
I'm still starting in this part of the express

node src/index.js

TypeError: Cannot read property 'headersSent' of undefined
at headersSent (D:\Projetos\Columbine Projects\node_modules\finalhandler\index.js:256:21)
at D:\Projetos\Columbine Projects\node_modules\finalhandler\index.js:92:17
at D:\Projetos\Columbine Projects\node_modules\express\lib\router\index.js:635:15
at next (D:\Projetos\Columbine Projects\node_modules\express\lib\router\index.js:210:14)
at Function.handle (D:\Projetos\Columbine Projects\node_modules\express\lib\router\index.js:174:3)
at Function.handle (D:\Projetos\Columbine Projects\node_modules\express\lib\application.js:174:10)
at app (D:\Projetos\Columbine Projects\node_modules\express\lib\express.js:39:9)
at module.exports (D:\Projetos\Columbine Projects\src\http\api\index.js:15:50)
at Object. (D:\Projetos\Columbine Projects\src\index.js:56:24)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions