[NPMCLI-106] Installation of tab completion fails on Windows Created: 16/Feb/17 Updated: 17/Feb/17 Resolved: 16/Feb/17 |
|
| Status: | Closed |
| Project: | Magnolia CLI |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 2.0 |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Cedric Reichenbach | Assignee: | Cedric Reichenbach |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | quickwin | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Windows 10, cmd or PowerShell |
||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
| 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. |