Dear all,
I am following the tutorial available here : http://dev.splunk.com/view/SP-CAAAEW5
I just copied/past the HTML and located the whole thing under my local apache server (http://127.0.0.1). When loading the page through my browser (Firefox or Chrome), I get the following error
> Error: Load timeout for modules:> splunkjs/ready!_unnormalized2,splunkjs/ready!> http://requirejs.org/docs/errors.html#timeout> config.js line 138 > eval:166:17> makeError> http://127.0.0.1/static/splunkjs/config.js> line 138 > eval:166:17 checkLoaded> http://127.0.0.1/static/splunkjs/config.js> line 138 > eval:692:23> checkLoaded/checkLoadedTimeoutId<> http://127.0.0.1/static/splunkjs/config.js> line 138 > eval:713:25
It works perfectly for other modules which don't have the exclamation mark "!".
var deps = [
**"splunkjs/ready!",**
"splunkjs/mvc/searchmanager",
"splunkjs/mvc/chartview",
"splunkjs/mvc/eventsviewerview"
];
When I remove the exclamation mark, the module loads properly. It looks like the exclamation mark points to an AMD module but I don't understand why this tutorial would mix the library way of loading. Thus I am wondering if this is not a tutorial error.
Can anyone provide me with some explanations regarding this error ?
Thank you
↧