-
Notifications
You must be signed in to change notification settings - Fork 207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: cli/runNpxCommand(deploy to Azure Static Web Apps) failed. #13114
Comments
👋 Hi @patentslump, Thank you for reporting this issue! We want to let you know that: ⏱️ Our team will personally review your issue ✨ This is an AI-generated initial response Based on the provided error logs and the current question, it seems you are encountering issues when deploying to Azure Static Web Apps using the Teams Toolkit. The error message indicates that there is a problem with loading StaticSitesClient metadata from remote sources, which may be related to internet connectivity or access issues. Error Details:
Potential Solutions:
Actionable Steps:
By following these steps, you should be able to troubleshoot and resolve the deployment issue. If the problem persists, providing more detailed information and logs will help in diagnosing the issue further.
|
@patentslump , Thank you for your inquiry about your Teams app development issue! |
I switched off iCloud private relay and it worked!On 29 Jan 2025, at 07:29, sayali-MSFT ***@***.***> wrote:
@patentslump , Thank you for your inquiry about your Teams app development issue!
We are checking the issue. We will get back to you shortly.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
@patentslump , Glad to hear that your issue is resolved!! |
Describe the bug
A clear and concise description of what the bug is.
Can't deploy to dev. Had the same problem Two days ago, and it got better on its own...Don't know why
(×) Error: Unable to execute script action. Script: `npx @azure/static-web-apps-cli deploy ./dist
To Reproduce
Steps to reproduce the behavior:
×) Error: Lifecycle stage deploy failed.
(√) Done: cli/runNpmCommand(install dependencies) was executed successfully.
(√) Done:
npm install
command executed at/Users/andrewkirby/TeamsApps/TeamTraining/teamTraining/
.(√) Done: cli/runNpmCommand(build app) was executed successfully.
(√) Done:
npm run build --if-present
command executed at/Users/andrewkirby/TeamsApps/TeamTraining/teamTraining/
.(×) Error: cli/runNpxCommand(deploy to Azure Static Web Apps) failed.
(×) Error: Unable to execute script action. Script:
npx @azure/static-web-apps-cli deploy ./dist -d <REDACTED:secret> --env production
. Error:✖ ✖ Deployment Failed :( ✖ Deployment Failure Reason: Could not load StaticSitesClient metadata from remote. Please check your internet connection. ✖ For further information, please visit the Azure Static Web Apps documentation at https://docs.microsoft.com/azure/static-web-apps/ ✖ If you believe this behavior is unexpected, please raise a GitHub issue at: https:***
(!) Warning: cli/runNpmCommand(install dependencies) was not executed.
(!) Warning: cli/runNpmCommand(build app) was not executed.
(!) Warning: azureFunctions/zipDeploy was not executed.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
VS Code Extension Information (please complete the following information):
CLI Information (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: