Error installing Sense Plugin


(Ash) #1

Hi,
I've installed elasticsearch 2.3.5 and kibana 4.5.4
I manually downloaded the sense beta7 tar file, and tried installing using the command
bin/kibana plugin -i sense -u file:///PATH_TO_SENSE_TAR_FILE
However, i get a long list of errors saying:

ERROR in ./src/plugins/metric_vis/public/metric_vis.less
Module build failed: Error: Cannot find module 'color-name'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
ERROR in ./src/ui/public/stringify/editors/color.less
Module build failed: Error: Cannot find module 'color-name'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)

...and so on.
Can't understand what the problem could be, please advise!


(Tim Sullivan) #2

This is weird. The error is pointing to a file in the Kibana file path, which controls the style for Metric visualization - it has nothing to do with Sense. It's happening because when you install a plugin in Kibana, it kicks in the optimizer which bundles all the front-end code into browser-friendly files.

In Kibana 4.x, there is no color-name in the source code anywhere in Kibana, not for Metric visualization or anywhere else.

Is this a customized installation of Kibana?

Can you check your ./src/plugins/metric_vis/public/metric_vis.less file and compare it to https://github.com/elastic/kibana/blob/v4.5.4/src/plugins/metric_vis/public/metric_vis.less


(Ash) #3

Hi, thanks for the help. Im using kibana 5 alpha now, with the built in console. So don't think I need Sense.


(Mark Walkom) #4

You don't :slight_smile:


(system) #5