FYI:I have never worked on NodeJS before I have a small nodejs(5.2) scriptlet and while trying to run it I get this error. It looks like it is because an older javascript runtime/interpreter is being used as it is not picking up the three dot notation. How do I check the version of ES/Javascript and install and switch to ES6 on my system (Fedora 23).
/usr/lib/node_modules/canvas-data-cli/lib/logger.js:17 logIt(level, ...args) { ^^^
SyntaxError: Unexpected token ... at exports.runInThisContext (vm.js:54:16) at Module._compile (module.js:375:25) at Object.Module._extensions..js (module.js:406:10) at Module.load (module.js:345:32) at Function.Module._load (module.js:302:12) at Module.require (module.js:355:17) at require (internal/module.js:13:17) at Object. (/usr/lib/node_modules/canvas-data-cli/lib/cli.js:4:14) at Module._compile (module.js:399:26) at Object.Module._extensions..js (module.js:406:10)