static-web-apps-cli
static-web-apps-cli copied to clipboard
Azure Static Web Apps CLI ✨
**Describe the bug** Deploy fails with no feedback. **To Reproduce** ```ps swa deploy --deployment-token REDACTED ``` Output: ``` Welcome to Azure Static Web Apps CLI (1.1.7) Deploying front-end files from...
Using version 1.1.4 **Describe the bug** When running `swa deploy` on my Apple Silicon Macbook I get the following error: ``` ✖ Deployment Failed :( ✖ Deployment Failure Reason: spawn...
If the staticwebapp.config.json file contains ``` "platform": { "apiRuntime": "node:20" }, ``` The following error message will appear: ``` [swa] WARNING: Failed to read staticwebapp.config.json configuration from: [swa] /YOURAPP/staticwebapp.config.json [swa]...
When running the swa cli, for example with `pnpm dlx @azure/static-web-apps-cli start app/output --api-location app/server`, it outputs ``` ✖ Found Azure Functions Core Tools v4 which is incompatible with your...
The current implementation for the Data API builders seems to pull the latest version specified by this metadata url: https://go.microsoft.com/fwlink/?linkid=2226493. This points to 0.9.7, not to the latest version 0.10.23...
Before filing this issue, please ensure you're using the latest CLI by running `swa --version` and comparing to the latest version on [npm](https://www.npmjs.com/package/@azure/static-web-apps-cli). > Issue verified on version `1.1.1` and...
The current static-web-apps-deploy task does not support Service Principal, so we always need to use tokens for deployment, but it is very time consuming to configure everything when deploying to...
I'm was frustrated will getting started with react and dotnet 7.0-8.0. All samples seem to be geared to towards Nodejs. Dotnet 8.0 deploying doesn't work at all with errors. Dotnet...
I have a `staticwebapp.config.json` with a route defined as follows: ```json { "routes": [ { "route": "/manage*", "allowedRoles": ["authenticated"] } ] } ``` While this is how you should match...
## **Requests** Please could you support proxy setting on SWA CLI like function core tools setting? ## **Troubleshooting** We experienced the following error message even put exact staticwebapp.config.json location. >...