Date: Sun, 4 Mar 2018 16:06:30 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> To: Mark Felder <feld@FreeBSD.org>, elastic@FreeBSD.org Subject: Re: X-Pack for 6.x, Kibana error Message-ID: <406e422f-1647-e321-5211-4cd458561214@quip.cz> In-Reply-To: <1520172544.201103.1290906400.754DEB76@webmail.messagingengine.com> References: <1520172544.201103.1290906400.754DEB76@webmail.messagingengine.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Mark Felder wrote on 2018/03/04 15:09: > I'm considering not making ports/packages for X-Pack on ElasticSearch 6 because of the announcement that Elastic is going to be bundling it automatically as of 6.3. We are probably less than a month away from that release based 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 get it to start with X-Pack because it throws an error. I think our Node.js is 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/reporting/export_types/csv/server/lib/generate_csv.js:51\n for await (const hit 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 Object.runInThisContext (vm.js:199:10)\n at Module._compile (module.js:624:28)\n at loader (/usr/local/www/kibana6/node_modules/babel-register/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/reporting/export_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-register/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/reporting/export_types/csv/server/index.js:2:1)\n at Module._compile (module.js:660:30)"},"message":"Unexpected reserved word"} I found the same error report here https://bugs.archlinux.org/task/56618 It is problem with node.js version, but until we can install more then one version of node, it will be very hard to run Kibana + node + anything else requiring different node version on FreeBSD. It causes problems in the past too. Node was too new or too old and each port wants different version. Miroslav Lachman
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?406e422f-1647-e321-5211-4cd458561214>
