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

KendoUI 2016 and SystemJS

2 Answers 89 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 18 Mar 2016, 05:37 AM

SystemJS is not finding the dependent Kendo libraries with the 2016 versions of Kendo. It *does* load libraries that are loaded directly by my code.  But when those libraries try to load *their* dependent libraries, SystemJS cannot find them.

 

I've setup two repositories to demonstrate the issue at:

https://github.com/brownieboy/kendo-systemjs-2016
https://github.com/brownieboy/kendo-systemjs-2015

 

The source code and config files for the two repositories should be the same.  The only difference should be that they are using that one is using a 2016 version of Kendo and other is using a 2015 version.  The 2015 version works and the 2016 doesn't.

 

Possible Related Issues
==================
http://www.telerik.com/forums/new-amd-definitions-in-v2016-1-112-are-incompatible-with-webpack
http://www.telerik.com/forums/issues-loading-latest-kendo-version-using-requirejs

2 Answers, 1 is accepted

Sort by
0
Accepted
Petyo
Telerik team
answered on 22 Mar 2016, 08:58 AM
Hello,

your systemjs configuration is incorrect - please check my comment here. This is somewhat easy to spot; the 404 errors in the console indicate that the paths wildcard does not match the module imports. 

Regards,
Petyo
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Mike
Top achievements
Rank 1
answered on 22 Mar 2016, 10:27 AM

Thanks, Petyo.  Yes, it was my wildcard config.

Yes, I did see all the 404s, but what threw me was that SystemJS was attempting to load those kendo files from a completely different folder, i.e. /src/.

I've updated by https://github.com/brownieboy/kendo-systemjs-2016 repository with this fix.

 

Tags
General Discussions
Asked by
Mike
Top achievements
Rank 1
Answers by
Petyo
Telerik team
Mike
Top achievements
Rank 1
Share this question
or