Results 1 to 3 of 3

Thread: Build Successful But App Not Running

  1. #1
    Sencha User
    Join Date
    May 2011
    Posts
    40
    Vote Rating
    0
      0  

    Default Build Successful But App Not Running

    I built my app by following the getting started guide. When I run the app I get
    Code:
    "NetworkError: 404 Not Found - http://localhost/j/WOM/view/WOM/view/statusList.js?_dc=1323282504422"
    . Why is this going on. My application name is WOM. But the generated path is not correct. I do have a view directory, I followed the MVC structure, but my app is not structured the way the path is generated. My path to the target js is app/view/statusList.js. That's all. Where did all the other path-ing come from? I'm I doing something wrong. I have attached the jsb file, but nothing seems wrong in there to me.
    Attached Files Attached Files

  2. #2
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,050
    Vote Rating
    1381
      0  

    Default

    This is most likely caused by not using requires/uses properties throughout your application files properly.
    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:
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    May 2011
    Posts
    40
    Vote Rating
    0
      0  

    Default

    I have tried to supply Ext.require() for all classes that depend on another class. I also went back and read the application doc and added all views, controlers and models. Even though the app doc says you can supply stores config, the builder will blow up. So I left the stores config out. But now, when I run with the build output, I only see the title of my index.html. I don't get any warning or errors. One thing I did find is if you use autoCreateViewport:true config option of Application class, the builder will hang during create jsb. I've ran out of things I can think of to try. Can I post my app to get some help or can you suggest some more things to try? We would really like to run from the project build. Thanks.

Posting Permissions

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