Azure-Functions-OpenAI-Demo icon indicating copy to clipboard operation
Azure-Functions-OpenAI-Demo copied to clipboard

Run `azd up` occurs error in the progress

Open jerryshia opened this issue 1 year ago • 3 comments

Describe the issue: When running azd up, the following error occurs:

image

and the final result of running azd up shows no errors. image

Repro Steps:

  1. Run azd init -t Azure-Functions-OpenAI-Demo.
  2. Run azd auth login.
  3. Run set-executionpolicy remotesigned.
  4. Run azd up.

Environment:

  • azd version 1.10.2 (commit 84ea22048b9a1c167bc4ae2095cc7f91798ef11e)
  • OS: Windows

Expected behavior: Running azd up shows no errors during the process.

@hemarina and @BigMorty for notification.

jerryshia avatar Oct 12 '24 11:10 jerryshia

@eamonoreilly Please review this issue.

v-xuto avatar Oct 21 '24 08:10 v-xuto

@jerryshia What version of .NET do you have installed? It seems you might not have .NET 8 and it is using .NET 6 and trying to update the app to support this but Flex consumption only supports .NET 8. You can run dotnet --version to check and get .NET 8 from https://dotnet.microsoft.com/en-us/download/dotnet/8.0 if needed. If that is not the issue, I may need ask for additional information. Thanks

eamonoreilly avatar Oct 21 '24 22:10 eamonoreilly

@eamonoreilly We are using .NET 8. After investigation, we found that it was because of the version of Azure Functions Core Tools. Our previous version was 4.0.5455. After updating to the latest version 4.0.6543, this issue can no longer be reproduced, but we encountered a new issue as follows: image

Menghua1 avatar Oct 25 '24 09:10 Menghua1