Uploaded image for project: 'Magnolia CLI'
  1. Magnolia CLI
  2. NPMCLI-106

Installation of tab completion fails on Windows

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Neutral
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0
    • Labels:
    • Environment:
      Windows 10, cmd or PowerShell
    • Testcase included:
      Yes
    • Sprint:
      Basel 83
    • Story Points:
      0.5

      Description

      When trying to run mgnl tab-completion install either in cmd.exe or PowerShell, the script fails with a cryptic error message about not finding "which".

      C:\Users\XY>mgnl tab-completion install
      'which' is not recognized as an internal or external command,
      operable program or batch file.
      ERR! Tab autocompletion could not be installed, since none of typical related directories or files were found and accesible.
      

      It might be related to the cmd-exists-sync npm module, which checks whether a certain command exists on a system.

        Attachments

          Activity

            People

            • Assignee:
              creichenbach Cedric Reichenbach
              Reporter:
              creichenbach Cedric Reichenbach
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: