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

Windows: Cannot find module 'babylon' error thrown on build

    Details

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

      SDK: 8.0.0.v20181114073331

    • Story Points:
      5
    • Sprint:
      2018 Sprint 23

      Description

      Description

      When building for windows the following error is thrown, this is because of the changes made in TIMOB-25650. We can remove this code though as it is a backwards compat thing for hyperloop 2.x

      Error: Cannot find module 'babylon'
       
          at Function.Module._resolveFilename (module.js:547:15)
       
          at Function.Module._load (module.js:474:25)
       
          at Module.require (module.js:596:17)
       
          at require (internal/module.js:11:18)
       
          at Object.<anonymous> (C:\ProgramData\Titanium\mobilesdk\win32\8.0.0.v20181114074027\windows\cli\commands\_build\copy.js:10:12)
       
          at Module._compile (module.js:652:30)
       
          at Object.Module._extensions..js (module.js:663:10)
       
          at Module.load (module.js:565:32)
       
          at tryModuleLoad (module.js:505:12)
       
          at Function.Module._load (module.js:497:3)
       
      ---------------------------------------------
       
          at C:\Jenkins\workspace\anium_mobile_windows_master-VEBTVBGZKPOIHZSZQD5XUBDGPM6Q4OEDUIMQP6TH2EZSWDMRL22Q\titanium-mobile-mocha-suite\node_modules\node-appc\node_modules\async\dist\async.js:2135:9
       
          at apply (C:\Jenkins\workspace\anium_mobile_windows_master-VEBTVBGZKPOIHZSZQD5XUBDGPM6Q4OEDUIMQP6TH2EZSWDMRL22Q\titanium-mobile-mocha-suite\node_modules\node-appc\node_modules\async\dist\async.js:21:25)
       
          at C:\Jenkins\workspace\anium_mobile_windows_master-VEBTVBGZKPOIHZSZQD5XUBDGPM6Q4OEDUIMQP6TH2EZSWDMRL22Q\titanium-mobile-mocha-suite\node_modules\node-appc\node_modules\async\dist\async.js:56:12
       
          at _insert (C:\Jenkins\workspace\anium_mobile_windows_master-VEBTVBGZKPOIHZSZQD5XUBDGPM6Q4OEDUIMQP6TH2EZSWDMRL22Q\titanium-mobile-mocha-suite\node_modules\node-appc\node_modules\async\dist\async.js:2248:9)
       
          at Object.push (C:\Jenkins\workspace\anium_mobile_windows_master-VEBTVBGZKPOIHZSZQD5XUBDGPM6Q4OEDUIMQP6TH2EZSWDMRL22Q\titanium-mobile-mocha-suite\node_modules\node-appc\node_modules\async\dist\async.js:2294:13)
       
          at Object.findExecutable (C:\Jenkins\workspace\anium_mobile_windows_master-VEBTVBGZKPOIHZSZQD5XUBDGPM6Q4OEDUIMQP6TH2EZSWDMRL22Q\titanium-mobile-mocha-suite\node_modules\node-appc\lib\subprocess.js:113:8)
       
          at resolveNode (C:\Jenkins\workspace\anium_mobile_windows_master-VEBTVBGZKPOIHZSZQD5XUBDGPM6Q4OEDUIMQP6TH2EZSWDMRL22Q\titanium-mobile-mocha-suite\node_modules\titanium\lib\titanium.js:97:34)
       
          at C:\Jenkins\workspace\anium_mobile_windows_master-VEBTVBGZKPOIHZSZQD5XUBDGPM6Q4OEDUIMQP6TH2EZSWDMRL22Q\titanium-mobile-mocha-suite\node_modules\titanium\lib\titanium.js:74:5
       
          at Object.<anonymous> (C:\Jenkins\workspace\anium_mobile_windows_master-VEBTVBGZKPOIHZSZQD5XUBDGPM6Q4OEDUIMQP6TH2EZSWDMRL22Q\titanium-mobile-mocha-suite\node_modules\titanium\lib\titanium.js:80:2)
      

      Steps to reproduce

      1. Build for Windows

      Actual

      Above error thrown

      Expected

      No error thrown

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code