avatarkava / beavisbot

A node.js powered bot for plug.dj and dubtrack.fm
https://github.com/avatarkava/beavisbot/wiki
MIT License
22 stars 20 forks source link

help #19

Closed BenSmith0 closed 10 years ago

BenSmith0 commented 10 years ago

C:\Users....\Documents\BeavisBot-master>node sparkle

module.js:485 throw err; ^ SyntaxError: C:\Users.......\Documents\BeavisBot-master\config.json: Unexp ected string at Object.parse (native) at Object.Module._extensions..json (module.js:482:27) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.require (module.js:364:17) at require (module.js:380:17) at Object. (C:\Users.........\Documents\BeavisBot-master\sparkl e.js:4:14) 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)

"roomName": "http://plug.dj/roblox/"

avatarkava commented 10 years ago

EchoNest is an automatic ID3 tag generator for music - it's not necessary to have an account to run the bot.

The reason you're getting an error, though, is because you seem to not have a comma at the end of the "roomName" line. Any line that does not end a set (inside {}) needs a comma at the end of it in the config file. See the sample file for an example.