rashidkpc / kibana-reveal

*Deprecated* See kibana-keynote
5 stars 2 forks source link

Kibana load error upon plugin initialization #1

Open johnpickett opened 9 years ago

johnpickett commented 9 years ago

Just watched the webinar and wanted to try the Reveal plugin out just to see how it works. I'm not a web developer.

After adding the plugin to the bottom of my kibana.yml file:

Plugins that are included in the build, and no longer found in the plugins/ folder bundled_plugin_ids:

(I've also tried it as just plugins/reveal; same result)

After restarting Kibana and loading the interface, I receive two error messages (on the same screen). They are below. I'm thinking this is probably an easy fix. I located the plugin at:

root@elkhost:/opt/kibana-4.1.1-linux-x64/plugins/reveal# ls controllers index.html index.js notes.txt offline_files offline.html README.md styles

Here are the errors:

Unable to load "plugins/reveal/index" modules because of a generic script error.

Error: Unable to load "plugins/reveal/index" modules because of a generic script error. Error: Script error for: plugins/reveal/index http://requirejs.org/docs/errors.html#scripterror at makeError (http://smgelkdemo.med.utah.edu/bower_components/requirejs/require.js?_b=7489:166:17) at HTMLScriptElement.context.onScriptError (http://smgelkdemo.med.utah.edu/bower_components/requirejs/require.js?_b=7489:1701:36)

Uncaught Error: Unable to load "plugins/reveal/index" modules because of a generic script error. (http://smgelkdemo.med.utah.edu/index.js?_b=7489:45786)

Error: Uncaught Error: Unable to load "plugins/reveal/index" modules because of a generic script error. (http://smgelkdemo.med.utah.edu/index.js?_b=7489:45786) at window.onerror (http://smgelkdemo.med.utah.edu/index.js?_b=7489:46030:24)

Any guidance is much appreciated but also non-critical.

lexholden commented 8 years ago

Stumbled across this because of a related but different issue, but...

@johnpickett for versions as early as 4.1.1 the root for require.config.js is kibana-4.1.1-linux-x64/src/public, so plugins/reveal/index will resolve to:

kibana-4.1.1-linux-x64/src/public/plugins/reveal/index

Place the plugin there and this should resolve correctly.