Elasticsearch 2.1: Cannot install Marvel into Kibana

monitoring

(Stefan Blattmann) #1

Hello!

I am a newbie to the ES world and just trying to get my local environment set up.

I am using a Mac and I used Homebrew to install Elasticsearch and Kibana.
Now I want to add Marvel to Kibana but it fails with the following error:

user :/usr/local/opt/kibana/(master)$ bin/kibana plugin --install elasticsearch/marvel/latest
Installing marvel
Attempting to extract from https://download.elastic.co/elasticsearch/marvel/marvel-latest.tar.gz
Downloading 3843924 bytes....................
Extraction complete
Optimizing and caching browser bundles...
Plugin installation was unsuccessful due to error "Cannot find module 'bluebird'"

Unfortunately I haven't found any solution yet.
Maybe you guys have an idea how to solve this?

Cheers,
Stefan


(Tanguy) #2

Hi,

Which version of kibana are you using?


(Stefan Blattmann) #3

Hi tanguy,

I am using Version 4.3.1 Build 1.


(Stefan Blattmann) #4

The problem is that during the installation of Marvel there are several node modules required. The first module that fails is "bluebird". It is included in the dev dependencies but they won't get installed.
I tried to include the node_modules and start a local install but the it failed with another module:

$ kibana plugin --install marvel --url file:///usr/local/Cellar/kibana/4.3.1/marvel.tar.gz
Installing marvel
Attempting to extract from file:///usr/local/Cellar/kibana/4.3.1/marvel.tar.gz
Extraction complete
Optimizing and caching browser bundles...
Plugin installation was unsuccessful due to error "Optimizations failure.

    ERROR in /usr/local/var/lib/kibana/installedPlugins/.plugin.installing/public/lib/format_number.js
    Module not found: Error: Cannot resolve module 'numeral' in /usr/local/var/lib/kibana/installedPlugins/.plugin.installing/public/lib
     @ /usr/local/var/lib/kibana/installedPlugins/.plugin.installing/public/lib/format_number.js 3:0-32:2
    
    ERROR in /usr/local/var/lib/kibana/installedPlugins/.plugin.installing/public/directives/index_listing/index.js
    Module not found: Error: Cannot resolve module 'numeral' in /usr/local/var/lib/kibana/installedPlugins/.plugin.installing/public/directives/index_listing
     @ /usr/local/var/lib/kibana/installedPlugins/.plugin.installing/public/directives/index_listing/index.js 5:16-34
    
    ERROR in /usr/local/var/lib/kibana/installedPlugins/.plugin.installing/public/directives/node_listing/index.js
    Module not found: Error: Cannot resolve module 'numeral' in /usr/local/var/lib/kibana/installedPlugins/.plugin.installing/public/directives/node_listing
     @ /usr/local/var/lib/kibana/installedPlugins/.plugin.installing/public/directives/node_listing/index.js 5:16-34
    
    ERROR in /usr/local/var/lib/kibana/installedPlugins/.plugin.installing/public/lib/metric.js
    Module not found: Error: Cannot resolve module 'numeral' in /usr/local/var/lib/kibana/installedPlugins/.plugin.installing/public/lib
     @ /usr/local/var/lib/kibana/installedPlugins/.plugin.installing/public/lib/metric.js 3:14-32
    
    ERROR in /usr/local/var/lib/kibana/installedPlugins/.plugin.installing/public/directives/cluster_listing/components/cluster_row.jsx
    Module not found: Error: Cannot resolve module 'numeral' in /usr/local/var/lib/kibana/installedPlugins/.plugin.installing/public/directives/cluster_listing/components
     @ /usr/local/var/lib/kibana/installedPlugins/.plugin.installing/public/directives/cluster_listing/components/cluster_row.jsx 12:14-32
"

In the meanwhile I was trying to install Elasticsearch on my Ubuntu server and I am stuck there as well :frowning:
It is very frustrating for me as I wanted to give Elasticsearch a try with my new project...


(Tanguy) #5

How did you install Kibana?


(Stefan Blattmann) #6

Usually I never had problems using Homebrew to install additional tools, etc.


(Jheld) #7

Yes, I have the same issue. Seems this has cropped up here and on Stack Overflow in the last week. Any suggestions?


(system) #8