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

CLI: Fix incompatibilities with Node 0.12

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Release 3.4.1
    • Fix Version/s: Release 3.4.2
    • Component/s: CLI
    • Labels:
      None
    • Story Points:
      8
    • Sprint:
      2015 Sprint 03 Tooling

      Description

      Node 0.12 has been released. The Titanium CLI is not compatible:

      ≫ ti setup
      /usr/local/lib/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:185
              throw e;
                    ^
      ChildProcess.emit (events.js:110:17),maybeClose (child_process.js:1008:16),Socket.<anonymous> (child_process.js:1176:11),Socket.emit (events.js:107:17),Pipe.close (net.js:476:12)
      

      To test:

      1. Install Node 0.12 (or use a node version manager like n and set your current version to 0.12)
      2. Run a ti command, such as ti setup check or ti info

      Perhaps related to async processing or spawning child processes. Enter ti setup choose option 2 (or type k), fails. Choose option 2 again, fails. Choose it a third time and it works; you get the setup check info. However, it doesn't detect my JDK and therefore my Android SDK info.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                skypanther Tim Poulsen
                Reporter:
                skypanther Tim Poulsen
                Reviewer:
                Feon Sua Xin Miao
              • Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code