This is a migrated thread and some comments may be shown as answers.

Module kendo.directives Is Not Available

1 Answer 668 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jason
Top achievements
Rank 1
Jason asked on 20 May 2020, 12:55 PM

I'm attempting to update my (licensed) version of Kendo UI for Jquery and AngularJS to the newest release (2020.2.513 at this post). I downloaded kendo.all.js and put it in a new directory, then changed my links to point at the new directory.

Upon logging into my application, I get this trace in my dev tools:

Error: [$injector:modulerr] Failed to instantiate module core due to:
[$injector:modulerr] Failed to instantiate module kendo.directives due to:
[$injector:nomod] Module 'kendo.directives' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.

My application worked fine with my previous version, 2016.3.914 and AngularJS 1.5.8, but now has issues. Can anyone assist?

1 Answer, 1 is accepted

Sort by
0
Aleksandar
Telerik team
answered on 22 May 2020, 06:06 AM

Hi Jason,

I checked and the kendo.directives are part of the distributed kendo.all.min.js file. The Kendo UI directives require jQuery to be available before AngularJS. Please make sure jQuery is included before angular in the document and load the scripts in the following order:

<script src="jquery.js"></script>
<script src="angular.js"></script>
<script src="kendo.all.js"></script>

If the issue is not resolved could you please try to modify the following example so the issue is reproducible - I tested and it works both under v2016.3.916 and v2020.2.513. Alternatively, you can send an example of your own, where the issue can be observed.

Regards,
Aleksandar
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
General Discussions
Asked by
Jason
Top achievements
Rank 1
Answers by
Aleksandar
Telerik team
Share this question
or