Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

winston throw error #753

Open
fengkx opened this issue Apr 10, 2022 · 0 comments
Open

winston throw error #753

fengkx opened this issue Apr 10, 2022 · 0 comments
Labels
external External dependencies issue

Comments

@fengkx
Copy link
Owner

fengkx commented Apr 10, 2022

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: winstonjs/winston#1648

@fengkx fengkx added the external External dependencies issue label Dec 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external External dependencies issue
Projects
None yet
Development

No branches or pull requests

1 participant