vscode-azureappservice icon indicating copy to clipboard operation
vscode-azureappservice copied to clipboard

Cannot read properties of undefined (reading 'createClient')

Open coutinhomarco opened this issue 3 years ago • 2 comments

Does this occur consistently? YES Repro steps:

1.Right click on app folder 2.Click Deploy to Web App... 3.Select the app

Action: appService.Deploy Error type: TypeError Error Message: Cannot read properties of undefined (reading 'createClient')

Version: 0.24.3 OS: darwin OS Release: 20.6.0 Product: Visual Studio Code Product Version: 1.70.0 Language: en

Call Stack
extension.bundle.js:2:3487411
fulfilled extension.bundle.js:2:3486239

coutinhomarco avatar Aug 05 '22 02:08 coutinhomarco

Hi @coutinhomarco

Thanks for filing this. I think that this bug is related: https://github.com/microsoft/vscode-azureappservice/issues/2291. To work around this, please activate the extension first by opening the Azure Resources view or running an App Service command.

nturinski avatar Aug 05 '22 17:08 nturinski

I worked around it be deploying from the Azure resources view instead of the workspace view. Thanks for the tip.

elsurudo avatar Aug 13 '22 06:08 elsurudo

Hi all, just wanted to let you know v0.24.5 has been released and should resolve this issue.

nturinski avatar Oct 18 '22 23:10 nturinski