Uploaded image for project: 'Appcelerator CLI'
  1. Appcelerator CLI
  2. CLI-1034

Improve failure message when trying to build Titanium 6.0.0 with Node < 5

    Details

    • Type: Improvement
    • Status: In Review
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Titanium
    • Labels:
      None
    • Environment:

      Titanium CLI: 5.0.8
      Appc-CLI: 5.3.1-2
      Titanium SDK: 6.0.0.v20160629091941
      NodeJS: v0.12.7
      OS: macOS 10.11.5

    • Story Points:
      3
    • Sprint:
      2017 Sprint 02 Tooling

      Description

      I just tried a recent build of the Titanium SDK 6.0.0 and got the following error:

      Titanium SDK 6.0.0 is incompatible with Node.js v0.12.7

      You will need to install Node.js v5 in order to use this version of the Titanium SDK.

      We should include an install-command to upgrade to Node.js and (optionally) a link on how to upgrade properly. Many people will run into this issue, so we should help them as best as possible.

      Steps to reproduce

      Run ti create from the console using a nightly Titanium SDK 6.0.0 build and NodeJS < 5 (e.g. 0.12.7)

      Expected behavior

      The build fails, but throws a warning on how to upgrade to NodeJS safely

      Actual behavior

      Only the above error is thrown, the user has to find out how to upgrade Node manually.

        Attachments

          Activity

            People

            • Assignee:
              kkolipaka Kondal Kolipaka (Inactive)
              Reporter:
              hknoechel Hans Knöchel
              Reviewer:
              Feon Sua Xin Miao
            • Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:

                Git Source Code