2
votes

I'm currently following azure official guide on node app deployment in azure app service. LINK

Need to create a web app for the resource group and plan given by the client with below command

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

But whenever I do it I get the below error.Any idea how to overcome this error. Thanks

usage error: --runtime | --deployment-container-image-name | --multicontainer-config-type TYPE --multicontainer-config-file FILE
1
Re-paste your link.George Chen
@GeorgeChen sorry added againAyeshmantha Perera

1 Answers

4
votes

I think I figured that out when u create a linux runtime based plan u have to make sure

--runtime "node|10.10" 

parameter is added.That did the work for me