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
When I try to use the command azd up, it returns this error:
Packaging services (azd package)
(x) Failed: Packaging service backend
ERROR: error executing step command 'package --all': failed building service 'backend': failed invoking event handlers for 'prebuild', 'prebuild' hook failed with exit code: '0', Path: 'C:\Users\tbarros\AppData\Local\Temp\azd-prebuild-1333188587.ps1'. : executable file not found in %PATH%
Every time I try to provision and deploy, it generates a different .ps1 (temp) file. I tried to incorporate that into the Path with no success.
The text was updated successfully, but these errors were encountered:
This means powershell 7 is not installed. AZD needs powershell7 to run ps1 hooks.
What azd version are you using? @fonsecabarros . The error from AZD should be describing the error and how to fix it in a better way since version 1.13.2
The powershell was indeed not updated but even after updating it to the version 7.5, whenever I start provisioning the app, it gets stuck like the below without any progress.
After updating the powershell and running the npm install, it proceeded and got to the point where I was before. I'm working in a medium size company where I have Contributor access to most resources. However, for example, I can't create a resource group, I have access to one where I can manage these resources.
With that said, what happens is that when I try to run azd up, I have the following error message:
I have changed the values in the main.parameters.json with all the resource groups and services I have already available and set and still doesn't allow me to proceed. Is there any way to deploy this rag chat without being an administrator? Should I get this answer anywhere else? I appreciate your help on this.
When I try to use the command azd up, it returns this error:
Packaging services (azd package)
(x) Failed: Packaging service backend
ERROR: error executing step command 'package --all': failed building service 'backend': failed invoking event handlers for 'prebuild', 'prebuild' hook failed with exit code: '0', Path: 'C:\Users\tbarros\AppData\Local\Temp\azd-prebuild-1333188587.ps1'. : executable file not found in %PATH%
Every time I try to provision and deploy, it generates a different .ps1 (temp) file. I tried to incorporate that into the Path with no success.
The text was updated successfully, but these errors were encountered: