Jump to content
McKay Development

Recommended Posts

Posted (edited)

/node_modules/log4js/lib/configuration.js:44
throw new Error(
^

Error: Problem with log4js configuration: ({ appenders:
[ { type: 'console' },
{ type: 'file', filename: 'logs/bot_undefined.log' } ] }) - must have a property "appenders" of type object.
at tests.forEach (/home/Bot/node_modules/log4js/lib/configuration.js:44:15)
at Array.forEach (<anonymous>)
at Configuration.throwExceptionIf (/home/Bot/node_modules/log4js/lib/configuration.js:42:11)
at new Configuration (/home/Bot/node_modules/log4js/lib/configuration.js:205:10)
at Object.configure (/home/Bot/node_modules/log4js/lib/log4js.js:201:12)
at Object.<anonymous> (/home/rsa-key-20171001/Bot/bot.js:18:8)
at Module._compile (module.js:624:30)
at Object.Module._extensions..js (module.js:635:10)
at Module.load (module.js:545:32)
at tryModuleLoad (module.js:508:12)

 

i get this error when i try to run my bot. node v8. ubuntu 14. can anyone help me please ? 

Edited by Meow
Guest
This topic is now closed to further replies.
×
×
  • Create New...