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

Login error when using Node 10 in Windows

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: CLI Release 7.1.0
    • Component/s: Core
    • Labels:
    • Story Points:
      5
    • Sprint:
      2019 Sprint 10

      Description

      On a fresh Windows 10 installation I've installed Node 10, Java 8, the Android SDK and the Appcelerator parts with npm install -g appcelerator titanium alloy. The open source version works fine but when trying to login to my appc account it will stop during the login part.

      appc info

      Appcelerator Command-Line Interface, version 7.0.9
      Copyright (c) 2014-2019, Appcelerator, Inc.  All Rights Reserved.
       
      Operating System
        Name                        = Microsoft Windows 10 Home
        Version                     = 10.0.17134
        Architecture                = 64bit
        # CPUs                      = 12
        Memory                      = 15.7GB
       
      Node.js
        Node.js Version             = 10.15.0
        npm Version                 = 6.4.1
       
      Appcelerator CLI
        Installer                   = 4.2.13
        Core Package                = 7.0.9
       
      Titanium CLI
        CLI Version                 = 5.1.1
        node-appc Version           = 0.2.44
       
      Titanium SDKs
        7.5.0.GA
          Version                   = 7.5.0
          Install Location          = C:\ProgramData\Titanium\mobilesdk\win32\7.5.0.GA
          Platforms                 = android, windows
          git Hash                  = 2e5a7423d0
          git Timestamp             = 11/15/2018 21:50
          node-appc Version         = 0.2.47
       
      Intel® Hardware Accelerated Execution Manager (HAXM)
        Not installed
       
      Java Development Kit
        Version                     = 1.8.0_191
        Java Home                   = C:\Program Files\Java\jdk1.8.0_191
       
      Genymotion
        Path                        = not found
        Genymotion Executable       = not found
        Genymotion Player           = not found
        Home                        = not found
       
      VirtualBox
        Executable                  = not found
        Version                     = unknown
       
      Android SDK
        Android Executable          = not found
        ADB Executable              = c:\android\platform-tools\adb.exe
        SDK Path                    = c:\android
       
      Android NDK
        NDK Path                    = not found
        NDK Version                 = not found
       
      Android Platforms
        1) android-23
          Name                      = Android 6.0
          API Level                 = 23
          Revision                  = 3
          Skins                     = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in
          ABIs                      =
          Path                      = c:\android\platforms\android-23
        2) android-28
          Name                      = Android 9
          API Level                 = 28
          Revision                  = 1
          Skins                     = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in
          ABIs                      =
          Path                      = c:\android\platforms\android-28
      

      When running appc -l trace setup or appc -l trace login the login will stop at:

      Get the registry...

      Workaround
      Commenting out these lines:

      // get the registry
      function (opts, cb) {
       log.debug('Get the registry...');
       return registry.getValue('registry', opts, cb);
      },
      

      in install\7.0.9\package\lib\commands\login.js will skip the registry part and the login will continue up to the end.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                eharris Ewan Harris
                Reporter:
                michael Michael Gangolf
              • Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code