Skip to content
This repository has been archived by the owner on Jun 23, 2018. It is now read-only.

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

Open
tjdistler opened this issue Jun 26, 2012 · 4 comments
Open

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

tjdistler opened this issue Jun 26, 2012 · 4 comments

Comments

@tjdistler
Copy link

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 [email protected]
  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
Copy link

+1 on this

@amasad
Copy link
Contributor

amasad commented Aug 6, 2012

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
Copy link

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
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants