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

CLI: Build errors out with "Couldn't find preset "babili" relative to directory" when deploy type is test

    Details

      Description

      Description

      Building an application for device (or test deploytype) fails with the below, error is coming from babel-core here https://github.com/babel/babel/blob/6.x/packages/babel-core/src/transformation/file/options/option-manager.js#L269

      [INFO]  Processing JavaScript files
      [ERROR] Couldn't find preset "babili" relative to directory "/Users/eharris/Documents/Appcelerator_Studio_Workspace/ti.bench"
      

      Steps to reproduce

      1. Create an app ti create -t app --name babelerror --id com.babel -p all --no-prompt --workspace-dir .
      2. Build for device/development deploytype ti build -p android -T device --build-only or ti build -p android -T device --build-only or {{ti build -p android -D development --build-only

      Actual

      Build errors out

      Expected

      Build should not error out

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cwilliams Christopher Williams
                Reporter:
                eharris Ewan Harris
                Reviewer:
                Hans Knöchel
                Tester:
                Abir Mukherjee
              • Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code