PDA

View Full Version : Ext.Loader is undefined



DavidDias
29 May 2017, 1:03 AM
Hi,

I'm just new with Sencha and I try to follow the CarListing tutorial (http://docs.sencha.com/architect/4/guides/tutorials/first_desktop_application.html).
My SenchaCmd is under C:\Dev\Workspace\SenchaArchitect\SenchaCmd\6.1.2.15
My CarListing project is under C:\Dev\Workspace\SenchaArchitect\CarListings

I've performed the sencha web start with a map to the CarListing project.
When I run http://localhost:1841/carListing/index.htmI I get a blank window and the error Ext.Loader is undefined in app.js:17:0.

Here is the app.js auto generated (I don't have touched it) :

/*
* File: app.js
*
* This file was generated by Sencha Architect version 3.5.1.
* http://www.sencha.com/products/architect/
*
* This file requires use of the Ext JS 6.0.x library, under independent license.
* License of Sencha Architect does not include license for Ext JS 6.0.x. For more
* details see http://www.sencha.com/license or contact [email protected]
*
* This file will be auto-generated each and everytime you save your project.
*
* Do NOT hand edit this file.
*/

// @require @packageOverrides
Ext.Loader.setConfig({

});


Ext.application({
models: [
'CarData'
],
stores: [
'CarDataStore'
],
name: 'CarListings',

launch: function() {
Ext.create('CarListings.view.CarListings', {renderTo: Ext.getBody()});
}

});


Can someone give me an hint on how about to resolve this?

Gary Schlosberg
30 May 2017, 7:10 AM
You've posted in the Ext JS 3.x forum. Which specific versions of Ext JS, Architect and Cmd are you using?

DavidDias
31 May 2017, 12:59 AM
I'm using :
- Sencha Architect 3.5.1
- Cmd 6.1.2.15
- ExtJS 6.0.x

Architect is parameted to store :
- Frameworks in C:\Dev\Workspace\SenchaArchitect\Frameworks
- Components in C:\Dev\Workspace\SenchaArchitect\Components
- Extensions in C:\Dev\Workspace\SenchaArchitect\Extensions
- Templates in C:\Dev\Workspace\SenchaArchitect\Templates

Architect is parameted to use custom Cmd in C:\Dev\Workspace\SenchaArchitect\SenchaCmd (6.1.2.15)


I've just tested to create a new project based on the exemple Car Listings under C:\Dev\Workspace\SenchaArchitect\CarListing2
56373

I've launched sencha web start -map carListing2=C:\Dev\Workspace\SenchaArchitect\CarListing2
When I launch http://localhost:1841/carListing2, I get the Ext.Loader is undefined


Is there anything that I've done wrong?