Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2532] Error Couldn't find module: alloy/sync/sql after migrating to TiSDK 3.2GA

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionCannot Reproduce
Resolution Date2014-01-28T04:53:28.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAlloy, Appcelerator Modules, Titanium SDK & CLI
Labelsalloy, android, bug, ios
ReporterVijay
AssigneeMostafizur Rahman
Created2014-01-10T06:48:18.000+0000
Updated2016-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.

Comments

  1. Mostafizur Rahman 2014-01-18

    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.
  2. Ritu Agrawal 2014-01-20

    Please provide a simple project to reproduce this issue as we have not been able to reproduce this issue in-house.

JSON Source