Packaging project fails... :(

Ok so nevermind. The issue was basically I was removing a widget and then trying to call the removed widget. Fixed now. Packages fine.