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

Syntax error in node v0.12.7 #2

Closed
berndca opened this issue Nov 14, 2015 · 2 comments
Closed

Syntax error in node v0.12.7 #2

berndca opened this issue Nov 14, 2015 · 2 comments

Comments

@berndca
Copy link

berndca commented Nov 14, 2015

elm-live/bin/elm-live.js:25
reactor.on('error', (error) => {
                            ^^
SyntaxError: Unexpected token =>
    at exports.runInThisContext (vm.js:73:16)
    at Module._compile (module.js:443:25)
    at Object.Module._extensions..js (module.js:478:10)
@berndca
Copy link
Author

berndca commented Nov 14, 2015

I compiled elm-live.js to ES5. Works well, thanks!

@tomek-he-him
Copy link
Collaborator

Oops, sorry! I wanted to skip the build step – and in the end I’ve forgotten to document it.

I’ve put warnings where necessary now: @167a229 @d17d43e.

Thanks for the catch! Great to hear that it works transpiled!

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