replit-archive / jsrepl

Multilingual sandboxed REPL engine in JavaScript.
http://replit.github.com/jsrepl/
405 stars 100 forks source link

Cakefile error: "Parse error on line 64: Unexpected 'IDENTIFIER' #65

Open tjdistler opened 12 years ago

tjdistler commented 12 years ago

I'm on Ubuntu 12.02 and I'm getting the following error:

node.js:201 throw e; // process.nextTick error, or 'error' event on first tick

Error: In Cakefile, Parse error on line 64: Unexpected 'IDENTIFIER' at Object.parseError (/usr/local/lib/node_modules/coffee-script/lib/coffee-script/parser.js:470:11) ...

STEPS:

  1. sudo apt-get install nodejs
  2. sudo apt-get install npm
  3. npm install -g coffee-script@1.2.0
  4. git clone git://github.com/replit/jsrepl.git
  5. cd jsrepl
  6. git submodule update --init --recursive
  7. cake bake

Being new to nodejs and cake, any help would be greatly appreciated. Thanks!

halorgium commented 12 years ago

+1 on this

amasad commented 12 years ago

I couldn't reproduce this. Cake bake is working for me just fine. I have CoffeeScript version 1.3.3. What versions do you have? coffee -v

kubanka-peter commented 12 years ago

I get the some error. Solution: install the latest coffe-script.

If you get error, like "Cannot find module 'coffee-script'", run this:

export NODE_PATH=/usr/local/lib/node:/usr/local/lib/node_modules

vincentwoo commented 11 years ago

I am getting similar errors, even on the latest coffeescript. I believe, for some reason, the 0o755 octal constant is causing problems in the Cakefile. I have no idea why. Replacing all of those with the less strict 0755 worked for me.