Closed s51tine closed 5 years ago
change the winston version from 3 to 2 in the package.json file as "dependencies": { "discord.io": "^2.5.3", "winston": "2" }
I just used my own logging.
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.
C:\Users\Janez\Desktop\DiscordBot\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 (C:\Users\Janez\Desktop\DiscordBot\node_modules\winston-transport\legacy.js:18:11) at DerivedLogger.add (C:\Users\Janez\Desktop\DiscordBot\node_modules\winston\lib\winston\logger.js:270:9) at Object.winston.(anonymous function).args [as add] (C:\Users\Janez\Desktop\DiscordBot\node_modules\winston\lib\winston.js:101:55) at Object. (C:\Users\Janez\Desktop\DiscordBot\bot.js:6:8)
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 Function.Module.runMain (module.js:693:10)
C:\Users\Janez\Desktop\DiscordBot>