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

CLI: Ti build command fails for all platforms due to "wrench undefined"

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Release 3.5.0
    • Fix Version/s: Release 4.0.0
    • Environment:

      Mac OS 10.10.1
      Xcode 6.1 GM
      CLI: 3.4.1 GA
      Alloy: 1.5.1 GA
      Titanium SDK version 3.5.0.v20141203112513
      Appcelerator Studio, build: 3.4.1.201410281743

      Description

      Description:

      Our automated SDK validations board went red for all platforms with SDK 3.5.0.v20141203112513. After working with Tim, it seems that a missing "require wrench" is the root of the problem. All build commands "ti build" fail with "wrench is undefined" There is some variance by platform:

      For iOS and blackberry, a simple error is shown:

      [ERROR] wrench is not defined
      

      For mobileweb and Android, you get the following:

      /usr/local/lib/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:185
              throw e;
                    ^
      ReferenceError: wrench is not defined
          at patchLogger (/Users/eric/Library/Application Support/Titanium/mobilesdk/osx/3.5.0.v20141203112513/cli/commands/build.js:273:29)
          at conf.options.appc.util.mix.project-dir.callback (/Users/eric/Library/Application Support/Titanium/mobilesdk/osx/3.5.0.v20141203112513/cli/commands/build.js:111:9)
          at /usr/local/lib/node_modules/titanium/lib/cli.js:632:28
          at conf.options.appc.util.mix.project-dir.validate (/Users/eric/Library/Application Support/Titanium/mobilesdk/osx/3.5.0.v20141203112513/cli/commands/build.js:175:9)
          at CLI.<anonymous> (/usr/local/lib/node_modules/titanium/lib/cli.js:622:14)
          at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:551:21
          at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:227:13
          at iterate (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:134:13)
      

      THIS IS A REGRESSION

      Steps to reproduce:

      1) Download SDK 3.5.0.v20141203112513
      2) Set this sdk as "selected" in the ti config or with the "-d" flag or by "ti sdk" command
      3) Create a project with this sdk in the tiapp.xml
      4) Run command "ti build" and choose any platform

      Result:

      Build failure due to missing wrench

      Expected Result:

      Build completes successfully

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pinnamuri Praveen Innamuri (Inactive)
                Reporter:
                emerriman Eric Merriman
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Integration