PDA

View Full Version : Sencha package build runs into infinite loop



extgeek
11 Jul 2014, 7:03 AM
Hi, I've been facing an issue with Sencha package build. I've around 240 js files in a package but figured one file is causing the package build to run forever. If I remove this file it builds fine and builds in less than 2 minutes.
Not sure what's causing the issue. I'm not using any requires in my code so no chance for circular dependency.

I tried to output the build in debug mode to an output file, it keeps on printing into output file and never stops.

Can anyone please throw some light.


PS: I'm using Ext JS 4.2


Thanks

mitchellsimoens
16 Jul 2014, 11:02 AM
What does the code look like?

extgeek
16 Jul 2014, 1:09 PM
This particular file that's causing the issue is 2000 lines of code outta which 1200 to 1300 lines are items array that contain different components like containers with textfields, displayfields, combos etc.

I'm using Sencha Cmd 4.0.0.126 to build the package.

Appreciate your help!

extgeek
22 Jul 2014, 7:13 PM
Using the latest Sencha Cmd solved the issue but not sure what was causing this issue.

Thanks!