standard / standard-engine

:fire_engine: The guts of `standard` modularized for reuse

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Invalid char in console.log()

drazisil opened this issue · comments

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

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?

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