Results 1 to 3 of 3

Thread: compile Failed to find file

  1. #1
    Sencha User
    Join Date
    May 2010
    Posts
    178
    Vote Rating
    3
      0  

    Default 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 User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,050
    Vote Rating
    1381
      0  

    Default

    Is the AM.view.Viewport in app/view/Viewport.js?
    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 2010
    Posts
    178
    Vote Rating
    3
      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.

Tags for this Thread

Posting Permissions

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