nreese / kibana-time-plugin

Kibana visualization that provides controls for setting and animating time ranges.
Apache License 2.0
125 stars 55 forks source link

Kibana 6.4.1 Error: [$injector:unpr] Unknown provider: timefilterProvider <- timefilter <- KbnTimeVisController #44

Closed conmurray closed 6 years ago

conmurray commented 6 years ago

Hi there,

This may be similar to the other issue reported for 6.3 but this does look like a different line where the error is so I want to report it here.

I've swapped out the url for HOSTNAME here for privacy reasons:

Error: [$injector:unpr] Unknown provider: timefilterProvider <- timefilter <- KbnTimeVisController http://errors.angularjs.org/1.6.9/$injector/unpr?p0=timefilterProvider%20%3C-%20timefilter%20%3C-%20KbnTimeVisController (https://HOASTNAME:5601/bundles/vendors.bundle.js:186)

Version: 6.4.1 Build: 17999

Error: Error: [$injector:unpr] Unknown provider: timefilterProvider <- timefilter <- KbnTimeVisController http://errors.angularjs.org/1.6.9/$injector/unpr?p0=timefilterProvider%20%3C-%20timefilter%20%3C-%20KbnTimeVisController (https://HOSTNAME:5601/bundles/vendors.bundle.js:186) window.onerror@https://HOSTNAME:5601/bundles/commons.bundle.js:3:776219

image

Steps to reproduce: Install as per 6.3 instructions. Update package.json to 6.4.1 and restart kibana. Allow optimizations to complete and then go to a dashboard you have with the time widget included on it.

conmurray commented 6 years ago

Ive tried this on a brand new Ubuntu 16.04 install with a DEB install of elastic and kibana. Same issue is being observed so Im not quite sure how to trace this down any further. Unfortunately my JS skills are non existent :(

conmurray commented 6 years ago

I've come across this https://www.elastic.co/blog/upcoming-kibana-plugin-api-changes-in-6-4

conmurray commented 6 years ago

OK ok, I think Ive figured it out. Looks like I need to checkout the master as the changes to timeController.js arent in 6.3 which makes sense as they only apply to 6.4 upwards.

Might be worth noting this in the readme or similar.