HubSpot / BuckyServer

Node server that receives metric data over HTTP & forwards to your service of choice
http://github.hubspot.com/bucky
MIT License
195 stars 33 forks source link

ParsingErrorBuckyServer #31

Open DamianMetal opened 8 years ago

DamianMetal commented 8 years ago

Hello, I am running a CentOS 7 . When trying to run bucky-server i have the following error

/usr/lib/node_modules/bucky-server/node_modules/config/lib/config.js:949
    throw new Error("Cannot parse config file: '" + fullFilename + "': " + e3)
          ^
Error: Cannot parse config file: '/usr/lib/node_modules/bucky-server/config/default.yaml': SyntaxError: invalid indentation, got 2.5 instead of 2
    at Config._parseFile (/usr/lib/node_modules/bucky-server/node_modules/config/lib/config.js:949:11)
    at /usr/lib/node_modules/bucky-server/node_modules/config/lib/config.js:718:25
    at Array.forEach (native)
    at /usr/lib/node_modules/bucky-server/node_modules/config/lib/config.js:714:14
    at Array.forEach (native)
    at Config._loadFileConfigs (/usr/lib/node_modules/bucky-server/node_modules/config/lib/config.js:713:13)
    at new Config (/usr/lib/node_modules/bucky-server/node_modules/config/lib/config.js:118:5)
    at Object.<anonymous> (/usr/lib/node_modules/bucky-server/node_modules/config/lib/config.js:1402:64)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (/usr/lib/node_modules/bucky-server/node_modules/coffee-script/lib/coffee-script/coffee-script.js:211:36)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/usr/lib/node_modules/bucky-server/server.coffee:13:12)
    at Object.<anonymous> (/usr/lib/node_modules/bucky-server/server.coffee:159:4)
    at Module._compile (module.js:456:26)
    at Object.loadFile (/usr/lib/node_modules/bucky-server/node_modules/coffee-script/lib/coffee-script/coffee-script.js:182:19)
    at Module.load (/usr/lib/node_modules/bucky-server/node_modules/coffee-script/lib/coffee-script/coffee-script.js:211:36)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/usr/lib/node_modules/bucky-server/start.js:4:1)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)
    at node.js:935:3

Is it something wrong on my side?