NodeRSSBot
NodeRSSBot copied to clipboard
winston throw error
TypeError: self.log is not a function
at process.DerivedLogger.<computed> (/home/fengkx/project/NodeRSSBot/node_modules/winston/lib/winston/create-logger.js:97:19)
at process.emit (node:events:390:28)
at process._fatalException (node:internal/process/execution:170:25)
at processPromiseRejections (node:internal/process/promises:246:11)
at processTicksAndRejections (node:internal/process/task_queues:97:32)
winston throw error because this binding to process, But I can't find why this happen, so I just fix it with proxy 86a74b3
Related upstream issue: https://github.com/winstonjs/winston/issues/1648