如何解决您如何逃脱管道'|'当从git bash使用azure-cli时
在Git Bash中使用azure-cli
时遇到问题
命令:
az webapp create --name app-name --resource-group rg-name --plan plan-name --runtime "node|10.14"
错误:
'10.14' is not recognized as an internal or external command,operable program or batch file.
解决方法
这很奇怪。我在Windows 10的Azure Cloud Shell的Bash或WSL或Git Bash中尝试了此命令。一切正常。
在这种情况下,您可以考虑使用az upgrade
更新CLI安装或重新安装Azure CLI或git bash。另外,您可以在输入"node|10.14"
时检查字符格式是否正确。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。