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

Error: Line 3: Unexpected reserved word #17

Open
trusktr opened this issue Feb 20, 2017 · 2 comments · May be fixed by #21
Open

Error: Line 3: Unexpected reserved word #17

trusktr opened this issue Feb 20, 2017 · 2 comments · May be fixed by #21

Comments

@trusktr
Copy link

trusktr commented Feb 20, 2017

Getting this error while following instructions in the README:

❯ git clone https://github.com/trusktr/infamous
❯ cd infamous
❯ npm install
❯ npm run build-cjs
❯ colony ./index.js -o colony
/usr/local/lib/node_modules/colony/bin/colony:101
    if (err) throw err
             ^

Error: Line 3: Unexpected reserved word
    at throwError (/usr/local/lib/node_modules/colony/node_modules/esprima/esprima.js:1151:21)
    at throwUnexpected (/usr/local/lib/node_modules/colony/node_modules/esprima/esprima.js:1202:17)
    at parsePrimaryExpression (/usr/local/lib/node_modules/colony/node_modules/esprima/esprima.js:1577:16)
    at /usr/local/lib/node_modules/colony/node_modules/esprima/esprima.js:3295:38
    at parseLeftHandSideExpressionAllowCall (/usr/local/lib/node_modules/colony/node_modules/esprima/esprima.js:1669:48)
    at parsePostfixExpression (/usr/local/lib/node_modules/colony/node_modules/esprima/esprima.js:1710:20)
    at /usr/local/lib/node_modules/colony/node_modules/esprima/esprima.js:3295:38
    at parseUnaryExpression (/usr/local/lib/node_modules/colony/node_modules/esprima/esprima.js:1770:16)
    at /usr/local/lib/node_modules/colony/node_modules/esprima/esprima.js:3295:38
    at parseMultiplicativeExpression (/usr/local/lib/node_modules/colony/node_modules/esprima/esprima.js:1776:20)
@Claire
Copy link

Claire commented Apr 26, 2017

+1

@rubikonx9
Copy link

Same happens for me.

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.

3 participants