I am migrating my titanium alloy app from 3.1.3 to 3.2.0. After migration app is getting crash on startup (both iOS and android).
Current versions: Titanium Studio: 3.2.0.201312191547-837YFA-FFBdWI6jz0uTLUC7DA08H , Titanium sdk 3.2.0, CLI 3.2.0, Alloy 1.3.0
Getting errors -
ERROR (iOS):
Script Error Couldn't find module: alloy/sync/sql Script Error Module "alloy/models/Profile" failed to leave a valid exports object (Profile is my module)
ERROR (Android):
[ERROR] : TiExceptionHandler: (main) [1,2854] - In ti:/module.js:280,9 [ERROR] : TiExceptionHandler: (main) [3,2857] - Message: Uncaught Error: Requested module not found: alloy/sync/sql [ERROR] : TiExceptionHandler: (main) [4,2861] - Source:
I tried with deleting "Resource" folder and build folder but problem remains. When I see the project Resource folder then there is sql file exist in "iphone/alloy/sync/sql" and "android/alloy/sync/sql" but not loading it.
Any help would be appreciated.
Thank you.