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

iojs - Unexpected token ILLEGAL #1

Closed
dweinstein opened this issue Jun 8, 2015 · 3 comments · Fixed by #2
Closed

iojs - Unexpected token ILLEGAL #1

dweinstein opened this issue Jun 8, 2015 · 3 comments · Fixed by #2

Comments

@dweinstein
Copy link
Contributor

% iojs --harmony -e 'var async = require("generator-async"); var fs = async.require("fs");'
/Users/user/junk/generator-async/node_modules/generator-async/node_modules/module-async-mapper/node_modules/esprima/esprima.js:3718
            throw e;
                  ^
Error: Line 26: Unexpected token ILLEGAL
    at throwError (/Users/user/junk/generator-async/node_modules/generator-async/node_modules/module-async-mapper/node_modules/esprima/esprima.js:1836:21)
    at scanNumericLiteral (/Users/user/junk/generator-async/node_modules/generator-async/node_modules/module-async-mapper/node_modules/esprima/esprima.js:900:13)
    at advance (/Users/user/junk/generator-async/node_modules/generator-async/node_modules/module-async-mapper/node_modules/esprima/esprima.js:1311:20)
    at lex (/Users/user/junk/generator-async/node_modules/generator-async/node_modules/module-async-mapper/node_modules/esprima/esprima.js:1360:78)
    at expect (/Users/user/junk/generator-async/node_modules/generator-async/node_modules/module-async-mapper/node_modules/esprima/esprima.js:1896:21)
    at parseArguments (/Users/user/junk/generator-async/node_modules/generator-async/node_modules/module-async-mapper/node_modules/esprima/esprima.js:2217:17)
    at parseLeftHandSideExpressionAllowCall (/Users/user/junk/generator-async/node_modules/generator-async/node_modules/module-async-mapper/node_modules/esprima/esprima.js:2283:24)
    at parsePostfixExpression (/Users/user/junk/generator-async/node_modules/generator-async/node_modules/module-async-mapper/node_modules/esprima/esprima.js:2325:16)
    at parseUnaryExpression (/Users/user/junk/generator-async/node_modules/generator-async/node_modules/module-async-mapper/node_modules/esprima/esprima.js:2352:20)
    at parseBinaryExpression (/Users/user/junk/generator-async/node_modules/generator-async/node_modules/module-async-mapper/node_modules/esprima/esprima.js:2473:16)
@dweinstein
Copy link
Contributor Author

I think this takes care of this one... dchester/module-async-mapper#1

@dweinstein
Copy link
Contributor Author

confirmed; I no longer get this error on iojs if the module-async-mapper is updated. will follow up with PR

dweinstein added a commit to dweinstein/generator-async that referenced this issue Jun 9, 2015
- should address dchester#1 (issue on iojs).
@dweinstein dweinstein reopened this Jun 9, 2015
dweinstein added a commit to dweinstein/generator-async that referenced this issue Jun 9, 2015
- closes dchester#1 (issue on iojs).
@dweinstein
Copy link
Contributor Author

👍

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

Successfully merging a pull request may close this issue.

1 participant