View Full Version : compile Failed to find file

28 Dec 2012, 1:18 PM
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

[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

Ext.Loader.setPath('AM', 'app');

as well as


name: 'AM',

31 Dec 2012, 7:20 AM
Is the AM.view.Viewport in app/view/Viewport.js?

31 Dec 2012, 7:49 AM

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.