Skip to content
This repository was archived by the owner on Mar 7, 2019. It is now read-only.
This repository was archived by the owner on Mar 7, 2019. It is now read-only.

Not compatiable with Winston v.3 #91

@adam-s

Description

@adam-s

This isn't compatible with Winston v.3

/baode/node_modules/winston-transport/legacy.js:18
    throw new Error('Invalid transport, must be an object with a log method.');
    ^

Error: Invalid transport, must be an object with a log method.
    at new LegacyTransportStream (/bcode/node_modules/winston-transport/legacy.js:18:11)
    at DerivedLogger.add (/barde/node_modules/winston/lib/winston/logger.js:270:9)
    at Object.winston.(anonymous function).args [as add] (/baode/node_modules/winston/lib/winston.js:101:55)
    at Object.<anonymous> (/barde/src/config/logger.js:6:9)
    at Module._compile (module.js:652:30)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/src/processors/barcode.js:3:16)
    at Module._compile (module.js:652:30)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/baode/src/config/express.js:51:1)
    at Module._compile (module.js:652:30)
    at Object.Module._extensions..js (module.js:663:10)
[nodemon] app crashed - waiting for file changes before starting...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions