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

Invalid char in console.log() #142

Closed
drazisil opened this issue Dec 16, 2016 · 3 comments
Closed

Invalid char in console.log() #142

drazisil opened this issue Dec 16, 2016 · 3 comments

Comments

@drazisil
Copy link

https://github.com/Flet/standard-engine/blob/master/bin/cmd.js#L48

This is causing a number of my project builds to fail. Can it be corrected?


/home/ubuntu/jpm-report/node_modules/standard/node_modules/standard-engine/bin/cmd.js:48
    console.log(`
                ^
SyntaxError: Unexpected token ILLEGAL
@Flet
Copy link
Member

Flet commented Dec 16, 2016

Ah, this is a node v4 feature... We dropped support for 0.10 and 0.12 recently because eslint 3 required it. Are you using an older version of node? Could you try upgrading?

@drazisil
Copy link
Author

drazisil commented Dec 16, 2016 via email

@feross
Copy link
Member

feross commented Dec 17, 2016

Use at least Node.js 4. If you can, I recommend using Node.js 6.

@feross feross closed this as completed Dec 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

3 participants