Azure / static-web-apps-cli

Azure Static Web Apps CLI ✨
https://aka.ms/swa/cli-local-development
MIT License
597 stars 117 forks source link

CLI not available on latest Docker image (1.1.3) #717

Closed tnabil closed 1 year ago

tnabil commented 1 year ago

Before filing this issue, please ensure you're using the latest CLI by running swa --version and comparing to the latest version on npm.

Are you accessing the CLI from the default port :4280 ?

Make sure you are accessing the URL printed in the console when running swa start!

ℹ️ NOTE: Make sure to enable debug logs when running any swa commands using --verbose=silly

Describe the bug When using the latest version of the Docker image (1.1.3), the swa command is not found.

To Reproduce Steps to reproduce the behavior:

  1. Run the docker image using docker run --rm -p 4280:4280 -it swacli/static-web-apps-cli:latest
  2. Type in command 'swa --version'
  3. You get the error bash: swa: command not found

Expected behavior Expect to be able to run the swa command in the Docker container

Screenshots swa-error

Desktop (please complete the following information):

Additional context This was run in WSL2

cjk7989 commented 1 year ago

Hi @tnabil, sorry for the delayed response. swa-cli v1.1.4 has been released. You can use it in docker now.