Hi, i have upgraded to Ubuntu 16.04 after the WATCHDOG_EXPIRED issue
, now when i try to run the script shows this error message:
/vivo.js:7
const masterNodes = [...mns.split(',')]
^^^
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
The only difference i saw when i used on Ubuntu 14.04 is that i didn't have the "node" program, when i run the script i got this message:
The program 'node' is currently not installed. You can install it by typing:
apt install nodejs-legacy
So i installed the package with apt-get install nodejs-legacy
Hi, i have upgraded to Ubuntu 16.04 after the WATCHDOG_EXPIRED issue
, now when i try to run the script shows this error message:
/vivo.js:7
const masterNodes = [...mns.split(',')]
^^^
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
The only difference i saw when i used on Ubuntu 14.04 is that i didn't have the "node" program, when i run the script i got this message:
The program 'node' is currently not installed. You can install it by typing:
apt install nodejs-legacy
So i installed the package with apt-get install nodejs-legacy