coffeescript - Cake throwing errors -
i've installed coffeescript using nodejs's npm install coffee-script command , went fine. can use coffee command , works ok.
however when try use cake compile scripts throws errors. i've created cakefile (empty one) stopped complaining file missing. i'm getting syntax errors.
here cakefile content:
task 'say hello', 'description', -> console.log 'hello world!' and here error cake:
ps d:\programming\coffeescript\tastemycake> cake c:\users\pako\appdata\roaming\npm\node_modules\coffee-script\lib\coffee-script\helpers.js:211 throw error; ^ syntaxerror: unexpected the task definition taken coffeescript tutorial on "[howto] compiling , setting build tools"
any idea on how fix , cake usable?
i'll add running cake -v gives same error.
you're missing comma after description.
Comments
Post a Comment