winstonjs / winston-compat

Core functionality from winston < 3.0.0 commonly used by user-created transports.
MIT License
2 stars 4 forks source link

config is undefined #3

Closed spearmootz closed 6 years ago

spearmootz commented 6 years ago

node_modules\winston-compat\index.js:160 ? config.colorize(options.level) ^

ReferenceError: config is not defined

mattberther commented 6 years ago

Also:

ReferenceError: util is not defined
at Object.exports.log (/container/node_modules/winston-compat/index.js:183:32)
at DailyRotateFile.log (/container/node_modules/winston-daily-rotate-file/daily-rotate-file.js:109:29)

when using prettyPrint: true.

EvanDarwin commented 6 years ago
ReferenceError: config is not defined at Object.exports.log (/sleepez/api/node_modules/winston-compat/index.js:162:9) at DailyRotateFile.log

Also experiencing this