madnight / bitcoin-chart-cli

Bitcoin chart for the terminal as command line util
MIT License
302 stars 39 forks source link

Unknown Error #12

Closed notmike-5 closed 6 years ago

notmike-5 commented 6 years ago

I have installed bitcoin-chart-cli and created a symlink between /usr/bin/nodejs and usr/bin/node. When I run the command bitcoin-chart-cli I receive the following error.

/usr/local/lib/node_modules/bitcoin-chart-cli/index.js:3 const { get, defaultTo, map, flow, sortBy, remove, always, ^

SyntaxError: Unexpected token , at exports.runInThisContext (vm.js:53:16) at Module._compile (module.js:374:25) at Object.Module._extensions..js (module.js:417:10) at Module.load (module.js:344:32) at Function.Module._load (module.js:301:12) at Function.Module.runMain (module.js:442:10) at startup (node.js:136:18) at node.js:966:3

madnight commented 6 years ago

Hi notmike-5 i think your version of nodejs is to low node --version https://github.com/madnight/bitcoin-chart-cli#requirements

Requirements

notmike-5 commented 6 years ago

True