Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-23766

Android: Default alloy & classic app crashes after launch with error : Requested module not found: ti.cloud, even though present

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Release 6.0.0
    • Fix Version/s: Release 6.0.0
    • Component/s: Android
    • Labels:
    • Environment:

      Environment:
      Appc Studio : 4.7.0.201607250649
      Ti SDK : 6.0.0.v20160810073036
      Ti CLI : 5.0.9
      Alloy : 1.9.1
      MAC El Capitan : 10.11.6
      Appc NPM : 4.2.7
      Appc CLI : 6.0.0-24
      Node: 4.4.4
      Ti.Cloud: 3.2.11

    • Story Points:
      5
    • Sprint:
      2016 Sprint 18 SDK

      Description

      Steps To Reproduce:

      1. Create a default alloy/classic app with SDK mentioned in environment.
      2. Build for android device/emulator.

      Actual Results:

      1. The app crashes after launch with error:

      [DEBUG] :  Module: require called with un-prefixed module id, should be a core or CommonJS module. Falling back to old Ti behavior and assuming it's an absolute file
      [ERROR] :  TiExceptionHandler: (main) [210,210] ----- Titanium Javascript Runtime Error -----
      [ERROR] :  TiExceptionHandler: (main) [0,210] - In ti:/module.js:301,2
      [ERROR] :  TiExceptionHandler: (main) [0,210] - Message: Uncaught Error: Requested module not found: ti.cloud
      [ERROR] :  TiExceptionHandler: (main) [1,211] - Source: 	throw new Error("Requested module not found: " + request); // TODO Set 'code' property to 'MODULE_NOT_FOUND' to match Node?
      [ERROR] :  V8Exception: Exception occurred at ti:/module.js:301: Uncaught Error: Requested module not found: ti.cloud
      

      Expected Results:

      1. The app should not crash & run successfully.

        Attachments

          Activity

            People

            • Assignee:
              cng Chee Kiat Ng (Inactive)
              Reporter:
              lchoudhary Lokesh Choudhary
              Reviewer:
              Christopher Williams
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-10011
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Source Code