You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After making the changes as mentioned in the git repo readme when I run the following command the Macbook
azd up
I am getting the below error:
Executing prepackage hook => /var/folders/t1/6k5yrx055dnf88pf4b12v6f40000gp/T/azd-prepackage-3025571478.ps1
/var/folders/t1/6k5yrx055dnf88pf4b12v6f40000gp/T/azd-prepackage-3025571478.ps1: pwsh: command not found
ERROR: failed running pre hooks: 'prepackage' hook failed with exit code: '127', Path: '/var/folders/t1/6k5yrx055dnf88pf4b12v6f40000gp/T/azd-prepackage-3025571478.ps1'. : exit code: 127
This issue is for a: (mark with an x)
- [ x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Minimal steps to reproduce
azd up on MacBook VSCode
Any log messages given by the failure
Executing prepackage hook => /var/folders/t1/6k5yrx055dnf88pf4b12v6f40000gp/T/azd-prepackage-3025571478.ps1
/var/folders/t1/6k5yrx055dnf88pf4b12v6f40000gp/T/azd-prepackage-3025571478.ps1: pwsh: command not found
ERROR: failed running pre hooks: 'prepackage' hook failed with exit code: '127', Path: '/var/folders/t1/6k5yrx055dnf88pf4b12v6f40000gp/T/azd-prepackage-3025571478.ps1'. : exit code: 127
Expected/desired behavior
It should deploy the repo
OS and Version?
MacOS M2 chip
Versions
Mention any other details that might be useful
Thanks! We'll be in touch soon.
The text was updated successfully, but these errors were encountered:
After resolving this issue by installing
brew install --cask powershell
Facing this issue below:
Executing preprovision hook => /var/folders/t1/6k5yrx055dnf88pf4b12v6f40000gp/T/azd-preprovision-2787934008.ps1
Connect-AzAccount: /var/folders/t1/6k5yrx055dnf88pf4b12v6f40000gp/T/azd-preprovision-2787934008.ps1:4:31
Line |
4 | Install-Module AzureAD -Force;Connect-AzAccount;$principalId = (Get-A …
| ~~~~~~~~~~~~~~~~~
| The term 'Connect-AzAccount' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was
| included, verify that the path is correct and try again.
ERROR: failed running pre hooks: 'preprovision' hook failed with exit code: '1', Path: '/var/folders/t1/6k5yrx055dnf88pf4b12v6f40000gp/T/azd-preprovision-2787934008.ps1'. : exit code: 1
After making the changes as mentioned in the git repo readme when I run the following command the Macbook
azd up
I am getting the below error:
Executing prepackage hook => /var/folders/t1/6k5yrx055dnf88pf4b12v6f40000gp/T/azd-prepackage-3025571478.ps1
/var/folders/t1/6k5yrx055dnf88pf4b12v6f40000gp/T/azd-prepackage-3025571478.ps1: pwsh: command not found
ERROR: failed running pre hooks: 'prepackage' hook failed with exit code: '127', Path: '/var/folders/t1/6k5yrx055dnf88pf4b12v6f40000gp/T/azd-prepackage-3025571478.ps1'. : exit code: 127
This issue is for a: (mark with an
x
)Minimal steps to reproduce
Any log messages given by the failure
ERROR: failed running pre hooks: 'prepackage' hook failed with exit code: '127', Path: '/var/folders/t1/6k5yrx055dnf88pf4b12v6f40000gp/T/azd-prepackage-3025571478.ps1'. : exit code: 127
Expected/desired behavior
OS and Version?
Versions
Mention any other details that might be useful
The text was updated successfully, but these errors were encountered: