Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

/usr/local/lib/node_modules/observatory-cli/index.js:130 #31

Open
blade1989 opened this issue Feb 14, 2018 · 2 comments
Open

/usr/local/lib/node_modules/observatory-cli/index.js:130 #31

blade1989 opened this issue Feb 14, 2018 · 2 comments

Comments

@blade1989
Copy link

On Ubuntu 16.04.3 LTS, I installed observatory, like so: npm install -g observatory-cli.

When executing the CLI, I get the following:

/usr/local/lib/node_modules/observatory-cli/index.js:130
  promiseScan (site, options, method="post") {
                                    ^

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
root@eurobytes:~# observatory --help
/usr/local/lib/node_modules/observatory-cli/index.js:130
  promiseScan (site, options, method="post") {
                                    ^

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

All the server updates have been installed.

@nicox
Copy link

nicox commented Apr 19, 2018

Are there any news about this issue? do you know a workaround?

@lembergerth
Copy link

Same problem here in the official docker image of Ubuntu 16.04. Happy about any suggestions.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants