Skip to content
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

"Could not find StaticSitesClient local binary" but apparently no attempt to download #887

Closed
JosXa opened this issue Sep 23, 2024 · 0 comments

Comments

@JosXa
Copy link

JosXa commented Sep 23, 2024

Describe the bug
Locally, deployments are fine. As soon as the deploy step runs in our Jenkins CI (on a Docker Linux image), we get

[2024-09-23T15:29:19.284Z] 
[2024-09-23T15:29:19.284Z] Welcome to Azure Static Web Apps CLI (2.0.1)
[2024-09-23T15:29:19.284Z] 
[2024-09-23T15:29:19.284Z] Deploying front-end files from folder:
[2024-09-23T15:29:19.284Z]   /devel/jenkins/workspace/P1/remax-ui-deploy-web/apps/intune-ui/dist
[2024-09-23T15:29:19.285Z] 
[2024-09-23T15:29:19.285Z] Consider providing api-language and version using --api-language and --api-version flags,
[2024-09-23T15:29:19.285Z]     otherwise default values apiLanguage: node and apiVersion: 16 will apply
[2024-09-23T15:29:19.285Z] 
[2024-09-23T15:29:19.285Z] Deploying to environment: intune-ui
[2024-09-23T15:29:19.285Z] 
[2024-09-23T15:29:19.285Z] Deploying project to Azure Static Web Apps...
[2024-09-23T15:29:19.285Z] Could not find StaticSitesClient local binary
[2024-09-23T15:29:19.285Z] 
[2024-09-23T15:29:19.285Z]

It cannot find the StaticSitesClient binary and apparently also does not attempt to download it. Our firewall has been adjusted to allow the URLs denoted in the documentation through, but there is nothing else in the logs that would indicate what the problem is. Is there some kind of verbose mode we could enable to figure out what's going on?

Expected behavior
SWA CLI attempts to download the binary.

Desktop (please complete the following information):

  • OS: node:22.1.0-bookworm-slim (Docker)
  • Version: 2.0.1
  • Installed and ran via Yarn 4.x
@JosXa JosXa changed the title "Could not find StaticSitesClient local binary" but not attempt to download "Could not find StaticSitesClient local binary" but no attempt to download Sep 23, 2024
@JosXa JosXa changed the title "Could not find StaticSitesClient local binary" but no attempt to download "Could not find StaticSitesClient local binary" but apparently no attempt to download Sep 23, 2024
@JosXa JosXa closed this as completed Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant