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

new (winston.Logger)在使用的winston版本为3.2.1以上版本时会提示错误 #2

Closed
cnHuaShao opened this issue Apr 2, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@cnHuaShao
Copy link
Contributor

new (winston.Logger)在使用的winston版本为3.2.1以上版本时会提示错误

在使用高版本时修订方式
编辑server/util/log.js文件,使用 winston.createLogger 代替 new (winston.Logger)

软件环境

  • 操作系统及版本:centos8 x86
  • Node及版本: 13.N
@cnHuaShao cnHuaShao added the bug Something isn't working label Apr 2, 2020
@huntbao
Copy link
Collaborator

huntbao commented Apr 2, 2020

默认安装不会安装这个版本的吧?后续我们可以考虑升级一下。谢谢反馈。

@cnHuaShao
Copy link
Contributor Author

默认安装下不会出现这个错误,手动安装相关缺失组件时会出现

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants