Meowhal / osu-ahr

irc bot for osu multi lobby auto host rotation
MIT License
129 stars 37 forks source link

when i start the git bash the console throw me this please help #160

Open Redust2415 opened 1 year ago

Redust2415 commented 1 year ago

npm start

osu-ahr@1.6.1 start node dist/cli/index.js

Loading log4js configuration from ./config/log_cli.json C:\escritorio\ayuda creo XD\osu-ahr-master\node_modules\log4js\lib\log4js.js:52 throw new Error( ^

Error: Problem reading config from file "./config/log_cli.json". Error was ENOENT: no such file or directory, open './config/log_cli.json' at loadConfigurationFile (C:\escritorio\ayuda creo XD\osu-ahr-master\node_modules\log4js\lib\log4js.js:52:11) at Object.configure (C:\escritorio\ayuda creo XD\osu-ahr-master\node_modules\log4js\lib\log4js.js:68:20) at Object. (C:\escritorio\ayuda creo XD\osu-ahr-master\dist\Loggers.js:32:18) at Module._compile (node:internal/modules/cjs/loader:1155:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10) at Module.load (node:internal/modules/cjs/loader:1033:32) at Function.Module._load (node:internal/modules/cjs/loader:868:12) at Module.require (node:internal/modules/cjs/loader:1057:19) at require (node:internal/modules/cjs/helpers:103:18) at Object. (C:\escritorio\ayuda creo XD\osu-ahr-master\dist\cli\index.js:22:19)

image this :(

xayanide commented 1 year ago

Use the npm start command from the root directory of your osu-ahr folder, not inside the osu-ahr/config folder. Also make sure config/log_cli.json do exists because the error means it cannot find that specific file.

Redust2415 commented 1 year ago

thanks