[AC-2532] Error Couldn't find module: alloy/sync/sql after migrating to TiSDK 3.2GA
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2014-01-28T04:53:28.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Alloy, Appcelerator Modules, Titanium SDK & CLI |
Labels | alloy, android, bug, ios |
Reporter | Vijay |
Assignee | Mostafizur Rahman |
Created | 2014-01-10T06:48:18.000+0000 |
Updated | 2016-03-08T07:41:35.000+0000 |
Description
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
Ti sdk 3.2.0
CLI 3.2.0
Alloy 1.3.0
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.
Any help would be appreciated.
Thank you.
I tested this issue with the default alloy projects using TISDK 3.2. I could not reproduce the error. Please visit following [this| https://github.com/appcelerator/alloy/blob/1_3_X/CHANGELOG.md] for more details on Alloy 1.3. If you continue to get the error, please post your sample code here. We will revisit the issue then.
Please provide a simple project to reproduce this issue as we have not been able to reproduce this issue in-house.