Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JS Circular Dependency Error (Kibana 4 Beta 2) #1978

Closed
logicalparadox opened this issue Nov 19, 2014 · 3 comments
Closed

JS Circular Dependency Error (Kibana 4 Beta 2) #1978

logicalparadox opened this issue Nov 19, 2014 · 3 comments

Comments

@logicalparadox
Copy link

I receive the following error when attempting to load Kibana using a clean ES/K install. The only HTML elements that load are the top bar and the loading indicator.

Meta

  • Kibana: v4.0.0-BETA2 (tar download)
  • ElasticSearch: v1.4.0 (tar download)
  • Tested in Chrome 39 / Firefox Dev Edition

EDIT (note): This issue is not present in Kibana v4.0.0-BETA1.1.

index.js?_b=3998:19263 Error: [$injector:unpr] Unknown provider: timefilterProvider <- timefilter <- config <- prettyDurationDirective
http://errors.angularjs.org/1.2.26/$injector/unpr?p0=timefilterProvider%20%3C-%20timefilter%20%3C-%20config%20%3C-%20prettyDurationDirective
    at http://localhost:5601/index.js?_b=3998:9269:12
    at http://localhost:5601/index.js?_b=3998:12993:19
    at Object.getService [as get] (http://localhost:5601/index.js?_b=3998:13121:39)
    at http://localhost:5601/index.js?_b=3998:12998:45
    at getService (http://localhost:5601/index.js?_b=3998:13121:39)
    at Object.invoke (http://localhost:5601/index.js?_b=3998:13148:13)
    at Private (http://localhost:5601/index.js?_b=3998:90680:32)
    at Object.DocSourceFactory (http://localhost:5601/index.js?_b=3998:83612:26)
    at Object.invoke (http://localhost:5601/index.js?_b=3998:13157:17)
    at Private (http://localhost:5601/index.js?_b=3998:90680:32)
index.js?_b=3998:19263 Error: Circluar refrence to "DocSourceFactory" found while resolving private deps: DocSourceFactory -> SourceAbstractFactory
    at Private (http://localhost:5601/index.js?_b=3998:90671:15)
    at new <anonymous> (http://localhost:5601/index.js?_b=3998:83793:21)
    at invoke (http://localhost:5601/index.js?_b=3998:13157:17)
    at Object.instantiate (http://localhost:5601/index.js?_b=3998:13168:23)
    at Object.<anonymous> (http://localhost:5601/index.js?_b=3998:13036:24)
    at Object.invoke (http://localhost:5601/index.js?_b=3998:13157:17)
    at http://localhost:5601/index.js?_b=3998:12999:37
    at getService (http://localhost:5601/index.js?_b=3998:13121:39)
    at Object.invoke (http://localhost:5601/index.js?_b=3998:13148:13)
    at http://localhost:5601/index.js?_b=3998:14881:43
index.js?_b=3998:19263 Error: Circluar refrence to "DocSourceFactory" found while resolving private deps: DocSourceFactory -> SourceAbstractFactory
    at Private (http://localhost:5601/index.js?_b=3998:90671:15)
    at new <anonymous> (http://localhost:5601/index.js?_b=3998:83793:21)
    at invoke (http://localhost:5601/index.js?_b=3998:13157:17)
    at Object.instantiate (http://localhost:5601/index.js?_b=3998:13168:23)
    at Object.<anonymous> (http://localhost:5601/index.js?_b=3998:13036:24)
    at Object.invoke (http://localhost:5601/index.js?_b=3998:13157:17)
    at http://localhost:5601/index.js?_b=3998:12999:37
    at getService (http://localhost:5601/index.js?_b=3998:13121:39)
    at invoke (http://localhost:5601/index.js?_b=3998:13148:13)
    at Object.instantiate (http://localhost:5601/index.js?_b=3998:13168:23)
@rashidkpc
Copy link
Contributor

I'm not able to replicate this in either of those browsers. Can you clear your browser cache and try again?
Does this occur in master?

@logicalparadox
Copy link
Author

Ruled out cache as the cause. I will test on master and get back to you.

In the interim I have put up my entire process in this gist: https://gist.github.com/logicalparadox/23b12f77630a481a0029

While I am not entirely ruling out the use of docker, this process works flawlessly for Kibana 4 BETA1.1.

@logicalparadox
Copy link
Author

Figured it out:

In BETA-2 the config/kibana.yml file needs this section:

bundledPluginIds:
 - plugins/dashboard/index
 - plugins/discover/index
 - plugins/settings/index
 - plugins/table_vis/index
 - plugins/vis_types/index
 - plugins/visualize/index

However, the file at v4.0.0-beta2/src/server/config/kibana.yml doesn't contain this section (which is what i based my config on) ... but the downloaded config/kibana.yml does.

Thanks for checking into this for me; while this was totally on me, in future releases improved visibility into all configuration options in the documentation would be appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants