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

Does not support ES2015 #6

Open
aaronroberson opened this issue Mar 17, 2016 · 0 comments
Open

Does not support ES2015 #6

aaronroberson opened this issue Mar 17, 2016 · 0 comments

Comments

@aaronroberson
Copy link

When I run this on a file that has import the following error is thrown:

Error: Line 1: Unexpected reserved word
    at throwError (/usr/local/lib/node_modules/jsc/node_modules/complexity-report/node_modules/esprima/esprima.js:1156:21)
    at throwUnexpected (/usr/local/lib/node_modules/jsc/node_modules/complexity-report/node_modules/esprima/esprima.js:1204:17)
    at parsePrimaryExpression (/usr/local/lib/node_modules/jsc/node_modules/complexity-report/node_modules/esprima/esprima.js:1567:16)
    at /usr/local/lib/node_modules/jsc/node_modules/complexity-report/node_modules/esprima/esprima.js:3609:38
    at trackLeftHandSideExpressionAllowCall (/usr/local/lib/node_modules/jsc/node_modules/complexity-report/node_modules/esprima/esprima.js:3504:61)
    at parsePostfixExpression (/usr/local/lib/node_modules/jsc/node_modules/complexity-report/node_modules/esprima/esprima.js:1703:20)
    at /usr/local/lib/node_modules/jsc/node_modules/complexity-report/node_modules/esprima/esprima.js:3609:38
    at parseUnaryExpression (/usr/local/lib/node_modules/jsc/node_modules/complexity-report/node_modules/esprima/esprima.js:1784:16)
    at /usr/local/lib/node_modules/jsc/node_modules/complexity-report/node_modules/esprima/esprima.js:3609:38
    at parseMultiplicativeExpression (/usr/local/lib/node_modules/jsc/node_modules/complexity-report/node_modules/esprima/esprima.js:1790:20)
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

1 participant