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

This app fails to run #1

Open
adriatic opened this issue Sep 1, 2017 · 1 comment
Open

This app fails to run #1

adriatic opened this issue Sep 1, 2017 · 1 comment

Comments

@adriatic
Copy link
Member

adriatic commented Sep 1, 2017

Running it bundled, either locally, invoking http-server from cmd where the current directory is in the docs folder

system.js:4 GET http://localhost:8080/kendo-sdk/js/kendo.all.min.js 404 (Not Found)

aurelia.js:7 ERROR [app-router] Error: (SystemJS) XHR error (404 Not Found) loading http://localhost:8080/kendo-sdk/js/kendo.all.min.js
	Error: XHR error (404 Not Found) loading http://localhost:8080/kendo-sdk/js/kendo.all.min.js
	Error loading http://localhost:8080/kendo-sdk/js/kendo.all.min.js as "kendo-ui/js/kendo.all.min" from http://localhost:8080/dist/autocomplete.js

or deployed at GitHub using URL https://aurelia-ui-toolkits.github.io/skeleton-navigation-typescript-kendo-bundled:

system.js:4 GET https://aurelia-ui-toolkits.github.io/skeleton-navigation-typescript-kendo-bundled/kendo-sdk/js/kendo.all.min.js 404 ()
aurelia.js:7 ERROR [app-router] Error: (SystemJS) XHR error (404) loading https://aurelia-ui-toolkits.github.io/skeleton-navigation-typescript-kendo-bundled/kendo-sdk/js/kendo.all.min.js
	Error: XHR error (404) loading https://aurelia-ui-toolkits.github.io/skeleton-navigation-typescript-kendo-bundled/kendo-sdk/js/kendo.all.min.js
	Error loading https://aurelia-ui-toolkits.github.io/skeleton-navigation-typescript-kendo-bundled/kendo-sdk/js/kendo.all.min.js as "kendo-ui/js/kendo.all.min" from https://aurelia-ui-toolkits.github.io/skeleton-navigation-typescript-kendo-bundled/dist/autocomplete.js

If you check the file bundles.js you will see that the missing kendo.all.min.js file is indeed stuffed in the dist/kendo-build bundle.

So either I do not understand how is the import kendo-ui/js/kendo.all.min evaluated at run time or there is a problem with this bundle. Either way, I would appreciate the explanation of the difference in processing of the import kendo-ui/js/kendo.all.min in unbundled app (where the reference is being resolved using this line and tin bundled version where the file bundles.js gets involved in the resolving process.

Please disregard the meaningfulness of the attempt to stuff the whole kendo.all.min.js monstrosity in a bundle - I just do not want to ignore this problem until I find out what is causing it.

@Thanood
Copy link

Thanood commented Sep 5, 2017

I can't browse the repo very well on my phone but what I wonder is why is it trying to load from kendo-sdk instead of kendo-ui?

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

No branches or pull requests

2 participants