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

SyntaxError: Unexpected token > #1

Open
crogers2287 opened this issue Jul 7, 2016 · 2 comments
Open

SyntaxError: Unexpected token > #1

crogers2287 opened this issue Jul 7, 2016 · 2 comments

Comments

@crogers2287
Copy link

Whenever I run /usr/local/bin/factorio-control-panel

I receive this error:

/usr/local/lib/node_modules/factorio-control-panel/server.js:37
admin.get('/', (req, res, next)=>{
                                ^
SyntaxError: Unexpected token >
    at Module._compile (module.js:439:25)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)
    at node.js:902:3

The server never starts.

@crogers2287
Copy link
Author

Feel free to close.

For some reason node wasn't being installed as the most current version. Once updated server launched fine.

@HeilTec
Copy link

HeilTec commented Sep 24, 2016

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