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

install: CLI should enforce minimum node version of 8.0.0

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: CLI Release 7.0.0
    • Fix Version/s: CLI Release 7.0.0
    • Component/s: Installer
    • Labels:
      None
    • Sprint:
      2017 Sprint 24 Tooling

      Description

      Description

      CLI 7 currently allows a minimum of node 4.6.0. This should be 8.0.0 as Studio is https://github.com/appcelerator/titanium_studio/commit/b405f4a0fc68e708172aedd4d7d73c4423fcd81b

      Steps to reproduce
      1. Install node.js < 8.0.0
      2. Run appc appcd exec /system-info/1.x/info
      Actual

      2017-11-20T14:07:25.034Z | ERROR  | An uncaught exception was thrown!
      Unexpected identifier
      2017-11-20T14:07:25.039Z | ERROR  | Unexpected identifier
      2017-11-20T14:07:25.044Z | TRACE  | SyntaxError: Unexpected identifier
          at exports.runInThisContext (vm.js:53:16)
          at Module._compile (module.js:373:25)
          at Object.Module._extensions..js (module.js:416:10)
          at Module.load (module.js:343:32)
          at Function.Module._load (module.js:300:12)
          at Module.require (module.js:353:17)
          at require (internal/module.js:12:17)
          at Object.<anonymous> (C:\Users\ewan\.appcelerator\install\7.0.0-master.32\package\node_modules\appcd\node_modules\cli-kit\dist\index.js:7:12)
          at Module._compile (module.js:409:26)
          at Object.Module._extensions..js (module.js:416:10)
      

      Expect

      Command should error telling user to change versions

        Attachments

          Activity

            People

            • Assignee:
              eharris Ewan Harris
              Reporter:
              eharris Ewan Harris
              Reviewer:
              Feon Sua Xin Miao
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Source Code