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

Windows: config files are written to different drive than process.env.HOME

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 5.2.0
    • Fix Version/s: Release 5.2.1
    • Component/s: Core
    • Labels:
    • Environment:

      APPC 5.2.0
      Windows

    • Story Points:
      5
    • Sprint:
      2016 Sprint 05 Tooling

      Description

      On Windows, some users are not able to create an arrow app from a different drive than the home drive.
      This may also happen when HOME is not set initially, in either case appc will fallback to HOMEPATH. On Windows HOMEPATH is relative path.

      Reproduce steps

      1. appc use 5.2.0
      2. appc logout
      3. go to another drive
      4. create an arrow appc

      Expected result

      An arrow app should be created after login

      Actual result

      `ERROR | Error: You are not logged in. Please login again.`

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code