`PS E:\Ghett Games\Discord Bot> node bot.js
E:\Ghett Games\Discord Bot\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 (E:\Ghett Games\Discord Bot\node_modules\winston-transport\legacy.js:18:11)
at DerivedLogger.add (E:\Ghett Games\Discord Bot\node_modules\winston\lib\winston\logger.js:345:11)
at Object.winston.(anonymous function).args [as add] (E:\Ghett Games\Discord Bot\node_modules\winston\lib\winston.js:110:68)
at Object. (E:\Ghett Games\Discord Bot\bot.js:6:8)
at Module._compile (internal/modules/cjs/loader.js:688:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10)
at Module.load (internal/modules/cjs/loader.js:598:32)
at tryModuleLoad (internal/modules/cjs/loader.js:537:12)
at Function.Module._load (internal/modules/cjs/loader.js:529:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:741:12)`
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
`PS E:\Ghett Games\Discord Bot> node bot.js E:\Ghett Games\Discord Bot\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 (E:\Ghett Games\Discord Bot\node_modules\winston-transport\legacy.js:18:11) at DerivedLogger.add (E:\Ghett Games\Discord Bot\node_modules\winston\lib\winston\logger.js:345:11) at Object.winston.(anonymous function).args [as add] (E:\Ghett Games\Discord Bot\node_modules\winston\lib\winston.js:110:68) at Object. (E:\Ghett Games\Discord Bot\bot.js:6:8)
at Module._compile (internal/modules/cjs/loader.js:688:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10)
at Module.load (internal/modules/cjs/loader.js:598:32)
at tryModuleLoad (internal/modules/cjs/loader.js:537:12)
at Function.Module._load (internal/modules/cjs/loader.js:529:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:741:12)`