Skip to content

TypeError thrown in writer.openTheStream.bind(writer) #847

@Kiyoaki-w

Description

@Kiyoaki-w

The console shows like:

/root/DAP/node_modules/log4js/lib/appenders/file.js:59
writer.closeTheStream(writer.openTheStream.bind(writer));
^

TypeError: Cannot read property 'bind' of undefined
at Function.app.reopen (/root/DAP/node_modules/log4js/lib/appenders/file.js:59:48)
at process.app.sighupHandler (/root/DAP/node_modules/log4js/lib/appenders/file.js:64:9)
at process.emit (events.js:189:13)
/root/DAP/node_modules/log4js/lib/appenders/file.js:59
writer.closeTheStream(writer.openTheStream.bind(writer));
^

TypeError: Cannot read property 'bind' of undefined
at Function.app.reopen (/root/DAP/node_modules/log4js/lib/appenders/file.js:59:48)
at process.app.sighupHandler (/root/DAP/node_modules/log4js/lib/appenders/file.js:64:9)
at process.emit (events.js:189:13)
/root/DAP/node_modules/log4js/lib/appenders/file.js:59
writer.closeTheStream(writer.openTheStream.bind(writer));

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions