Azure / ng-deploy-azure

Deploy Angular apps to Azure using the Angular CLI
MIT License
79 stars 37 forks source link

ng deploy fails when using an existing resource group and storage account during ng add #79

Closed sinedied closed 4 years ago

sinedied commented 4 years ago

Describe the bug When invoking ng add using an existing resource group and storage account, ng deploy will fail with the following error:

Error when trying to deploy: 
<?xml version="1.0" encoding="utf-8"?><Error><Code>ContainerNotFound</Code><Message>The specified container does not exist.
RequestId:0a02c7fb-101e-0133-3bf5-7229ae000000
Time:2019-09-24T16:33:50.0066513Z</Message></Error>

To Reproduce Steps to reproduce the behavior:

  1. ng add @azure/ng-deploy --resourceGroup existing-rg--account existingstorage
  2. ng deploy
Githamza commented 4 years ago

You should go on azure portal , to your storage account and then enable static websites image

manekinekko commented 4 years ago

@sinedied did @Githamza solution fixed your issue? Please reopen this issue if you still need help.