microsoft / azurechat

🤖 💼 Azure Chat Solution Accelerator powered by Azure Open AI Service
MIT License
1.24k stars 1.21k forks source link

ERROR: failed running post hooks: 'postdeploy' hook failed #226

Closed Nihal-1512 closed 1 year ago

Nihal-1512 commented 1 year ago

Receiving an error when trying to deploy using windows PowerShell after following all the steps:

ERROR: failed running post hooks: 'postdeploy' hook failed with exit code: '1', Path: 'C:\Users\SAMAR~1\AppData\Local\Temp\azd-postdeploy-1112466353.ps1'. : exit code: 1, stdout: , stderr: 'pwsh' is not recognized as an internal or external command, operable program or batch file.

Nihal-1512 commented 1 year ago

Had to install latest version on PowerShell and it worked