3

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
2
  • 1
    Re-paste your link. Commented Jan 23, 2019 at 9:39
  • @GeorgeChen sorry added again Commented Jan 23, 2019 at 9:40

1 Answer 1

7

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

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.