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

Windows: Building with hyperloop fails with "traverse is not a function"

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 8.0.0, Hyperloop 3.1.3
    • Fix Version/s: Release 8.0.0
    • Component/s: CLI, Hyperloop, Windows
    • Labels:
      None
    • Environment:

      SDK: 8.0.0.v20181114073331
      Hyperloop: 3.1.3

    • Story Points:
      5
    • Sprint:
      2018 Sprint 23

      Description

      Description

      Building hyperloop-examples with SDK 8 throws the following error. This is because hyperloop-examples is using the babel packages from within the SDK and these were removed in TIMOB-25650. The hyperloop hook should be fixed up to have its own dependencies

      TypeError: traverse is not a function
          at WindowsBuilder.pre (C:\ProgramData\Titanium\modules\windows\hyperloop\3.1.3\hooks\hyperloop.js:97:5)
          at C:\Users\awam\.appcelerator\install\7.0.7\package\node_modules\titanium\lib\hook.js:214:10
          at C:\Users\awam\.appcelerator\install\7.0.7\package\node_modules\titanium\node_modules\async\dist\async.js:3845:9
          at replenish (C:\Users\awam\.appcelerator\install\7.0.7\package\node_modules\titanium\node_modules\async\dist\async.js:1030:17)
          at C:\Users\awam\.appcelerator\install\7.0.7\package\node_modules\titanium\node_modules\async\dist\async.js:1034:9
          at eachOfLimit (C:\Users\awam\.appcelerator\install\7.0.7\package\node_modules\titanium\node_modules\async\dist\async.js:1061:22)
          at C:\Users\awam\.appcelerator\install\7.0.7\package\node_modules\titanium\node_modules\async\dist\async.js:1066:16
          at _parallel (C:\Users\awam\.appcelerator\install\7.0.7\package\node_modules\titanium\node_modules\async\dist\async.js:3844:5)
          at Object.series (C:\Users\awam\.appcelerator\install\7.0.7\package\node_modules\titanium\node_modules\async\dist\async.js:4663:3)
          at C:\Users\awam\.appcelerator\install\7.0.7\package\node_modules\titanium\lib\hook.js:211:9
      [ERROR] traverse is not a function
      

      Steps to reproduce

      1. Build hyperloop-examples

      Actual

      traverse is not a function is thrown

      Expected

      No error, app should build just fine

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                eharris Ewan Harris
                Reporter:
                eharris Ewan Harris
                Reviewer:
                Kota Iguchi
                Tester:
                Kota Iguchi
              • Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code