Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax error while running kibiter for the first time #123

Open
snack0verflow opened this issue Feb 19, 2020 · 3 comments
Open

Syntax error while running kibiter for the first time #123

snack0verflow opened this issue Feb 19, 2020 · 3 comments

Comments

@snack0verflow
Copy link

Kibana version:
kibiter-6.1.4-4-linux-x86_64
Elasticsearch version:
elasticsearch-7.6.0
Server OS version:
elementary OS Hera 5.1 based on on Ubuntu 18.04
Browser version:

Browser OS version:

Original install method (e.g. download page, yum, from source, etc.):
tar -xzf
Description of the problem including expected versus actual behavior:
Trying to run kibiter gives syntax error
Steps to reproduce:

  1. Install kibiter
  2. Try to run ./bin/kibana

Errors in browser console (if relevant):
~/kibiter-6.1.4-4-linux-x86_64$ ./bin/kibana
/home/abid/kibiter-6.1.4-4-linux-x86_64/src/utils/streams/reduce_stream.js:40
async transform(chunk, enc, callback) {
^^^^^^^^^

SyntaxError: Unexpected identifier
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:542:28)
at Module._extensions..js (module.js:579:10)
at Object.require.extensions.(anonymous function) [as .js] (/home/abid/kibiter-6.1.4-4-linux-x86_64/node_modules/babel-register/lib/node.js:152:7)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
Provide logs and/or server output (if relevant):

@vchrombie
Copy link
Member

Hi @snack0verflow

I think it is because of the version mismatch. You can read more about it from here.

@snack0verflow
Copy link
Author

Hey @vchrombie,
This was while running kibiter alone without elasticsearch. The executable bin/kibana gave this syntax error.

@valeriocos
Copy link
Member

A similar issue has been reported at chaoss/grimoirelab#261. I didn't have time to have a deep look at it. @snack0verflow @vchrombie feel free to dive into it.

Thanks!

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

No branches or pull requests

3 participants