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

CLI: Build process errors out with Error: Cannot find module '../node-titanium-sdk/lib/titanium'

    Details

    • Type: Bug
    • Status: Closed
    • Priority: None
    • Resolution: Fixed
    • Affects Version/s: Release 6.2.0
    • Fix Version/s: Release 6.2.0
    • Component/s: CLI, Tooling
    • Labels:
      None
    • Environment:

      Ti SDK: 6.2.0.v20170425075343
      Ti CLI: 5.0.12

      Description

      Description

      When building using 6.2.0.v20170425075343 the build process will error out with
      Error: Cannot find module '../node-titanium-sdk/lib/titanium', the path used is in the hack is wrong https://github.com/appcelerator/titanium_mobile/blob/3f6ce6d1b20d89a3aa97b4703dccf4e872dd77d2/node_modules/titanium-sdk/lib/titanium.js#L1

      Steps to reproduce
      1. ti sdk install -b master -d
      2. Edit your tiapp.xml to use the SDK
      3. Build your app ti build -p ios
      Actual

      Above error thrown

      Expected

      Build process should not error

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                eharris Ewan Harris
                Reporter:
                eharris Ewan Harris
                Reviewer:
                Christopher Williams
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code