Skip to content

Error running on Ubuntu 16.04 #4

Description

@jlms77

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions