Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parsing error #14

Closed
lucaddepar opened this issue Apr 25, 2013 · 2 comments
Closed

Parsing error #14

lucaddepar opened this issue Apr 25, 2013 · 2 comments

Comments

@lucaddepar
Copy link

I'm trying to compile an application converted from CoffeeScript to JS (using coffee -c).

After solving all dependencies, I get the following error:

Unexpected token: string (underscore) Error at new JS_Parse_Error (/usr/lib/node_modules/nexe/node_modules/sardines/node_modules/uglify-js/lib/parse-js.js:263:18) at js_error (/usr/lib/node_modules/nexe/node_modules/sardines/node_modules/uglify-js/lib/parse-js.js:271:11) at croak (/usr/lib/node_modules/nexe/node_modules/sardines/node_modules/uglify-js/lib/parse-js.js:733:9) at token_error (/usr/lib/node_modules/nexe/node_modules/sardines/node_modules/uglify-js/lib/parse-js.js:740:9) at unexpected (/usr/lib/node_modules/nexe/node_modules/sardines/node_modules/uglify-js/lib/parse-js.js:746:9) at Object.semicolon [as 1] (/usr/lib/node_modules/nexe/node_modules/sardines/node_modules/uglify-js/lib/parse-js.js:766:43) at prog1 (/usr/lib/node_modules/nexe/node_modules/sardines/node_modules/uglify-js/lib/parse-js.js:1314:21) at simple_statement (/usr/lib/node_modules/nexe/node_modules/sardines/node_modules/uglify-js/lib/parse-js.js:906:27) at /usr/lib/node_modules/nexe/node_modules/sardines/node_modules/uglify-js/lib/parse-js.js:814:19 at block_ (/usr/lib/node_modules/nexe/node_modules/sardines/node_modules/uglify-js/lib/parse-js.js:1003:20) at function_ (/usr/lib/node_modules/nexe/node_modules/sardines/node_modules/uglify-js/lib/parse-js.js:982:31)

Any idea?
Thanks in advance, much appreciated!

@crcn
Copy link

crcn commented Apr 26, 2013

I was just dealing with this issue a few days ago. The issue should be fixed with sardines@0.4.2. Try re-installing nexe, and re-compiling your app.

@lucaddepar
Copy link
Author

Fixed - thanks a lot, much appreciated!

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

No branches or pull requests

2 participants