express-winston icon indicating copy to clipboard operation
express-winston copied to clipboard

Getting TypeError: options.winstonInstance.log is not a function error

Open ihd2911 opened this issue 7 years ago • 0 comments

i have express js project and installed "express-winston": "^2.4.0" and "winston": "^2.4.0" version. sometimes i am getting following error and system crashed

TypeError: options.winstonInstance.log is not a function at ServerResponse.res.end (D:\Projects\goto\littleCornerBackend\node_modules\express-winston\index.js:319:39)

ihd2911 avatar Jan 04 '18 10:01 ihd2911