Closed v-jiaodi closed 1 year ago
@wbreza can you take a look? Is this a blocker for 0.8?
@v-jiaodi can you provide more information on the actual error message? You mentioned this repros for both node
and csharp
swa-func
templates however the API packaging error message would be totally different for each since one runs node
and the other csharp
?
Turns out that this was effecting all templates that used Node JS for the backend API server and could be easily reproduced by running azd package api
and did not only fail during template tests.
Describe the issue: Fail to pacakge service with
todo-nodejs-mongo-swa-func
andtodo-csharp-sql-swa-func
in Windows , when runbash ./test-templates.sh -c false -t template-name -b staging
. But runazd init -t template-name -b staging
>azd package
>azd provision
>azd deploy
, it can work normally.The error message as follows:
Repro steps:
azd login
.bash ./test-templates.sh -t template-name -b staging
Environment: OS: Windows desktop. Template: todo-nodejs-mongo-swa-func, todo-csharp-sql-swa-func Azd version: 0.7.0-beta.2-daily.2681609 (commit https://github.com/Azure/azure-dev/commit/81b97e0268a78c521ef0017c5c9531c4ba7e0399)
Expected behavior:
bash ./test-templates.sh -t template-name -b staging
can pass.@rajeshkamal5050 for notification.