bithavoc / express-winston

express.js middleware for winstonjs
https://www.npmjs.com/package/express-winston
MIT License
796 stars 187 forks source link

Winston upgrade breaks the code #187

Closed sido420 closed 6 years ago

sido420 commented 6 years ago

This happened when I upgraded to Winston 3.0.0. See https://github.com/bithavoc/express-winston/issues/175#issuecomment-402169918

TypeError: winston.Logger is not a constructor
     at Object.errorLogger (/code/node_modules/express-winston/index.js:120:59)

I'm on 2.6.0.

Thanks.

rosston commented 6 years ago

We have an issue open for adding winston@3 support (https://github.com/bithavoc/express-winston/issues/163), so I'm going to close this.