Results 1 to 3 of 3

Thread: Sencha Touch 2.0 Build Issue in Windows

  1. #1
    Sencha User
    Join Date
    Oct 2008
    Vote Rating

    Default Sencha Touch 2.0 Build Issue in Windows


    I am trying to compare DOJO Mobile Framework & Sencha Touch 2.0 Framework.

    I found some thing interesting which is MVC Framework in Sencha 2.0. I try to modify the existed examples(Sencha 2.0)
    I ran the build command(sencha create jsb -a http://localhost/RecentSencha/exampl...dex-debug.html -p app.jsb3) found the below errors.

    [ERROR] Ext is not defined, please verify that the library is loaded properly on
    the application's page
    undefined:0 ReferenceError: Can't find variable: Ext

    Below is my index-debug.html

    <!DOCTYPE html>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <title>Kitchen Sink</title>
        <link rel="stylesheet" href="../../resources/css/sencha-touch.css" type="text/css">
        <link rel="stylesheet" href="resources/css/sink.css?2" type="text/css">
        <script type="text/javascript" src=""></script>
        <script type="text/javascript" src="../../sencha-touch.js"></script>
        <script type="text/javascript" src="app.js"></script>
        <script type="text/javascript" src="overrides.js"></script>

    I have followed the below Sencha documentation.!/guide/getting_started

    Below is my project structure:

    - Examples(folder)
    - kitchensink(folder)
    extjs(I am putting sencha-touch-2.0.0-pr4 files here)

    I have installed Sencha sdk tools 1.2.3

    I am not sure if Sencha 2.0 supports in windows with Sencha sdk tools 1.2.3

    What I am trying to achieve here is trying to to modify the Sencha 2.0 examples with Sencha SDK tools 1.2.3 version in Windows system.

    I don't see any documentation or example for Sencha touch with MVC framework, I am spending lot of time here with no results.

    Can some one help me or suggest me or guide me to the right path.


  2. #2
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Gainesville, FL
    Vote Rating


    It's saying sencha-touch.js is not found.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:

  3. #3
    Sencha User
    Join Date
    Oct 2008
    Vote Rating


    Hi Mitchell,

    Thank you very much for your response.

    I can able to resolve some issues except one issue below are the details as steps wise.

    1. undefined:0 ReferenceError: Can't find variable: Ext

    above issue got resolved when I use complete URL (sencha create jsb -a http:/
    /localhost:8081/RecentSencha/examples/kitchensink/index-debug.html -p app.jsb3) it worked..

    2. After that I have got the below error:

    undefined:0 Error: Ext.Loader is not enabled, so dependencies cannot be resolved
    dynamically. Missing required classes:, Kitchensink, Kitchensink.view.tablet.Main, Kitchensink.view.tablet.T
    ouchEvents,, Kitchensink.controller.tablet.Mai

    resolved the above error using Ext.Loader.setConfig({enabled:true}); placing this line top of app.js

    3. After that I see the below js files are not loading in Chrome browser tools:

    GET http://localhost:8081/RecentSencha/e...=1328034262986 404 (Not Found)
    GET http://localhost:8081/RecentSencha/e...=1328034262986 404 (Not Found)
    GET http://localhost:8081/RecentSencha/e...=1328034262992 404 (Not Found)
    GET http://localhost:8081/RecentSencha/e...=1328034263101 404 (Not Found)
    GET http://localhost:8081/RecentSencha/e...=1328034263106 404 (Not Found)
    GET http://localhost:8081/RecentSencha/e...=1328034263115 404 (Not Found)
    GET http://localhost:8081/RecentSencha/e...=1328034263118 404 (Not Found)
    GET http://localhost:8081/RecentSencha/e...=1328034263145 404 (Not Found)
    GET http://localhost:8081/RecentSencha/e...=1328034263150 404 (Not Found)

    I have changed sencha-touch.js to sencha-touch-all-debug.js this file worked with out any js files loading

    4. When I do a build(sencha create jsb -a http:/
    /localhost:8081/RecentSencha/examples/kitchensink/index-debug.html -p app.jsb3).

    http://localhost:8081/RecentSencha/s...-debug.js:3682 [Ext.ClassMana
    ger] Overriding existing alias: 'widget.touchevents' of: 'Kitchensink.view.table
    t.TouchEvents' with: ''. Be sure it's intentio

    this is the only error I am getting now.

    Last edited by Trinad; 31 Jan 2012 at 10:35 AM. Reason: removed links

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts