【问题标题】:usage error when creating Webapp in Azure App service在 Azure App 服务中创建 Webapp 时出现使用错误
【发布时间】:2019-01-23 09:37:06
【问题描述】:

我目前正在关注有关在 azure 应用服务中部署节点应用的 azure 官方指南。 LINK

需要使用以下命令为客户端给出的资源组和计划创建一个 Web 应用程序

az webapp create --resource-group myResourceGroup --plan myAppServicePlan --name <app_name>

但是每当我这样做时,我都会收到以下错误。任何想法如何克服这个错误。谢谢

usage error: --runtime | --deployment-container-image-name | --multicontainer-config-type TYPE --multicontainer-config-file FILE

【问题讨论】:

  • 重新粘贴您的链接。
  • @GeorgeChen 抱歉再次添加

标签: azure azure-web-app-service azure-app-service-plans


【解决方案1】:

我想我知道当你创建一个基于 linux 运行时的计划时你必须确保

--runtime "node|10.10" 

添加了参数。这对我有用

【讨论】:

    猜你喜欢
    • 2022-09-29
    • 1970-01-01
    • 2021-11-27
    • 2011-12-30
    • 2020-01-19
    • 2021-11-15
    • 1970-01-01
    • 2012-11-24
    • 2021-06-19
    相关资源
    最近更新 更多