Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    May 2010
    Posts
    156
    Vote Rating
    0
    Dmoney is on a distinguished road

      0  

    Default compile Failed to find file

    compile Failed to find file


    I'm trying to compile my application. I don't get any errors in firebug everything runs fine but when I try to complie the app I get these errors

    Code:
    [ERR]		Failed to find file for AM.view.Viewport
     required by /Applications/MAMP/htdocs/top250/daily/app/Application.js
    [ERR]		Error executing page compilation Failed to find any files for AM.view.Viewport
    [ERR]		com.sencha.exceptions.ExBuild: Failed to find any files for AM.view.Viewport
    I don't understand why it can't find the Viewport.js file

    I have this set in my Application.js file

    Code:
    Ext.Loader.setPath('AM', 'app');
    as well as

    Code:
    Ext.application({
    
    	name: 'AM',

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    33,599
    Vote Rating
    434
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    Is the AM.view.Viewport in app/view/Viewport.js?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    http://www.JSONPLint.com - Source to lint your JSONP!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    May 2010
    Posts
    156
    Vote Rating
    0
    Dmoney is on a distinguished road

      0  

    Default


    @MitchellSimoens

    Yeah that's what I don't understand because the file exists in that location. I thought maybe it's not recognizing my app name, I have no idea whats going on.