Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

usage error when creating Webapp in Azure App service

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
like image 791
Ayeshmantha Perera Avatar asked Feb 11 '26 20:02

Ayeshmantha Perera


1 Answers

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

like image 167
Ayeshmantha Perera Avatar answered Feb 16 '26 10:02

Ayeshmantha Perera



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!