samuri51 / chillybot

a turntable bot created by a moderator of straight_chillin11
12 stars 12 forks source link

SyntaxError: Unexpected token ILLEGAL #48

Closed ghost closed 10 years ago

ghost commented 10 years ago

I was adding phrases to Chillster's sandwich database, and then he stopped running with this error message, SyntaxError: Unexpected token ILLEGAL.

Full Error Log: Your code is running at 'https://chillybot-c9-ttcloud.c9.io'. Important: use 'process.env.PORT' as the port and 'process.env.IP' as the host in your scripts!

/var/lib/stickshift/520acbbf4382ec549e0000c8/app-root/data/583653/chillybot.js:7099 bot.speak('My onion will not let me slice him.); ^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ SyntaxError: Unexpected token ILLEGAL at Module._compile (module.js:439:25) 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:901:3

samuri51 commented 10 years ago

looks like your missing a closing quotation mark

bot.speak('My onion will not let me slice him.');
ghost commented 10 years ago

ok, thanks. You are so awesome.