nreese / enhanced_tilemap

Kibana mapping visualization
Apache License 2.0
65 stars 24 forks source link

I cannot run it with kibana 5.2.1 #60

Open lynnic26 opened 7 years ago

lynnic26 commented 7 years ago

I just unziped in plugins directory and changed the version in package.json from 5.0.2 to 5.2.1 It can not work, the browser console says that the _.class is not an funciton actuallly there is no _.class in lodash module as I can see, and I cannot find such function in any other version of lodash How can I run it with kibana 5.2.1 or other versions that does not match all release number?

JacobBrandt commented 7 years ago

You can thank Kibana for the mess it is to keep versions of plugins up to date with whatever version scheme they are using. It's not semantic as you found out. The installed plugins won't be loaded if their versions don't match EXACTLY which you seem to know. What you might not know is that Kibana likes to make breaking API changes all the time. So unfortunately you have this mess of multiple releases under a major version number like 5.x.

I suggest picking your Kibana version first then choosing the closest build release number provided here. If you want to work with Kibana 5.2.1 then I would pick the 5.2.2 release here. The key is to make sure the first two numbers match. The third shouldn't matter. Also there is no guarantee that Kibana won't cause major breaking changes in a patch release either so this information is just a general guideline. Good luck.