Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 04 Mar 2018 08:09:04 -0600
From:      Mark Felder <feld@FreeBSD.org>
To:        elastic@FreeBSD.org
Subject:   X-Pack for 6.x, Kibana error
Message-ID:  <1520172544.201103.1290906400.754DEB76@webmail.messagingengine.com>

next in thread | raw e-mail | index | archive | help
I'm considering not making ports/packages for X-Pack on ElasticSearch 6 bec=
ause of the announcement that Elastic is going to be bundling it automatica=
lly as of 6.3. We are probably less than a month away from that release bas=
ed on what I see with the previous release intervals.

https://www.elastic.co/blog/doubling-down-on-open

Additionally if anyone has had time to play with Kibana6 I can't seem to ge=
t it to start with X-Pack because it throws an error. I think our Node.js i=
s too new? This is annoying because I *will* need this at work.

This is the error I'm seeing:

{"type":"error","@timestamp":"2018-03-03T22:41:57Z","tags":["fatal"],"pid":=
85220,"level":"fatal","error":{"message":"Unexpected reserved word","name":=
"SyntaxError","stack":"/usr/local/www/kibana6/plugins/x-pack/plugins/report=
ing/export_types/csv/server/lib/generate_csv.js:51\n    for await (const hi=
t of iterator) {\n        ^^^^^\n\nSyntaxError: Unexpected reserved word\n =
   at new Script (vm.js:51:7)\n    at createScript (vm.js:138:10)\n    at O=
bject.runInThisContext (vm.js:199:10)\n    at Module._compile (module.js:62=
4:28)\n    at loader (/usr/local/www/kibana6/node_modules/babel-register/li=
b/node.js:144:5)\n    at Object.require.extensions.(anonymous function) [as=
 .js] (/usr/local/www/kibana6/node_modules/babel-register/lib/node.js:154:7=
)\n    at Module.load (module.js:573:32)\n    at tryModuleLoad (module.js:5=
13:12)\n    at Function.Module._load (module.js:505:3)\n    at Module.requi=
re (module.js:604:17)\n    at require (internal/module.js:11:18)\n    at Ob=
ject.<anonymous> (/usr/local/www/kibana6/plugins/x-pack/plugins/reporting/e=
xport_types/csv/server/execute_job.js:4:1)\n    at Module._compile (module.=
js:660:30)\n    at loader (/usr/local/www/kibana6/node_modules/babel-regist=
er/lib/node.js:144:5)\n    at Object.require.extensions.(anonymous function=
) [as .js] (/usr/local/www/kibana6/node_modules/babel-register/lib/node.js:=
154:7)\n    at Module.load (module.js:573:32)\n    at tryModuleLoad (module=
.js:513:12)\n    at Function.Module._load (module.js:505:3)\n    at Module.=
require (module.js:604:17)\n    at require (internal/module.js:11:18)\n    =
at Object.<anonymous> (/usr/local/www/kibana6/plugins/x-pack/plugins/report=
ing/export_types/csv/server/index.js:2:1)\n    at Module._compile (module.j=
s:660:30)"},"message":"Unexpected reserved word"}




--=20
  Mark Felder
  ports-secteam & portmgr member
  feld@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1520172544.201103.1290906400.754DEB76>