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

Installation of tab completion fails on Windows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 2.0
    • None
    • Windows 10, cmd or PowerShell
    • Yes
    • Basel 83
    • 0.5

      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.

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD