SemkoDev / nelson.cli

WE HAVE MOVED TO A NEW REPOSITORY
https://gitlab.com/semkodev/nelson.cli
ISC License
128 stars 20 forks source link

Error starting nelson #22

Closed tolotos-rgu closed 6 years ago

tolotos-rgu commented 6 years ago

OS: Ubuntu Xenial Kernel: 4.4.27-x86_64-jb1

npm install -g nelson.cli ==> OK

nelson --gui --getNeighbors ==> see below

/usr/local/lib/node_modules/nelson.cli/node_modules/external-ip/lib/extIP.js:5 module.exports = (externalConfig = {}) => { ^ 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 Module.require (module.js:354:17) at require (internal/module.js:12:17) at Object. (/usr/local/lib/node_modules/nelson.cli/node_modules/external-ip/index.js:2:18) at Module._compile (module.js:410:26) at Object.Module._extensions..js (module.js:417:10)

thisredone commented 6 years ago

Is your node.js at least version LTS 6.9.1?

romansemko commented 6 years ago

Your node seems to be v 4.x. Please upgrade to at least 6.9.1