Reputation: 4555
Ran into a problem when using azure-cli
in Git Bash
The command:
az webapp create --name app-name --resource-group rg-name --plan plan-name --runtime "node|10.14"
Error:
'10.14' is not recognized as an internal or external command, operable program or batch file.
Update: Found related issue https://github.com/Azure/azure-cli/issues/13866
Upvotes: 0
Views: 476
Reputation: 28224
It's an odd thing. I tried this command in Bash of Azure Cloud Shell or WSL or Git Bash on my windows 10. All worked fine.
In this case, you could consider updating your CLI installation with az upgrade
or re-install your Azure CLI or git bash. Also, you could check if you have the correct character format when typing the "node|10.14"
.
Upvotes: 1