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
This works perfectly fine with swa start and swa build. But, when it comes with the command swa deploy, the apiLocation part keeps complaining. Therefore, I have to use the swa deploy command like this:
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
?--port
) and accessing the CLI from that port:4280
ℹ️ NOTE: Make sure to enable debug logs when running any
swa
commands using--verbose=silly
Describe the bug
A clear and concise description of what the bug is.
Here's my
swa-cli.config.json
:This works perfectly fine with
swa start
andswa build
. But, when it comes with the commandswa deploy
, theapiLocation
part keeps complaining. Therefore, I have to use theswa deploy
command like this:swa deploy --api-location src/EasyAuth.FunctionApp/bin/Release/net9.0 ...`
To Reproduce
Steps to reproduce the behavior:
swa build
swa deploy --deployment-token {{deployment_token}}
If I run the following command, it deploys successfully:
swa deploy --api-location src/EasyAuth.FunctionApp/bin/Release/net9.0 --deployment-token {{deployment_token}}
Expected behavior
A clear and concise description of what you expected to happen.
It should be deployed without having to add the
--api-location
parameter to alter the location.Desktop (please complete the following information):
Windows 11 Enterprise
24H2
Additional context
Add any other context about the problem here.
2.0.2
4.0.6610
The text was updated successfully, but these errors were encountered: