0

I have installed X-Pack on ElasticSearch using

bin/elasticsearch-plugin install x-pack

When i am trying to install the plugin on Kibana with the same command

bin/kibana-plugin install x-pack

I am getting the following error

/usr/local/bin/node: bad option: --no-warnings

I understand that its somehow related to node.js but i can't figure out a way to move forward with the installation.

I appreciate any comments or thoughts regarding the issue.

stratis
  • 738
  • 3
  • 8
  • 23
  • Are you getting the error when you try to install x-pack for kibana ? – Kulasangar Dec 06 '16 at 10:06
  • Yes. After i install the plugin for elasticsearch i proceed on the installation of X-pack for kibana and i get the error that i mentioned – stratis Dec 06 '16 at 10:32

2 Answers2

2

If you edit the kibana-plugin script, you can remove the --no-warnings option to get the plugin manager working

Rich Kroll
  • 3,995
  • 3
  • 23
  • 28
0

I upgraded Node to 6.9.4 LTS and was able to install plugins.

Use nvm to manage your version of node.js: https://github.com/creationix/nvm