aspire-samples icon indicating copy to clipboard operation
aspire-samples copied to clipboard

Fail to run `azd init` command for sample “OrleansVoting”

Open Menghua1 opened this issue 1 year ago • 2 comments

Describe the issue: Run the azd init command and select no services to expose, the following error occurs: image image

Repro Steps:

  1. Clone code.
  2. Run command cd OrleansVoting.
  3. Run command azd init -> choose use code from folder and accept the Aspire project -> When asking which services to expose, select none service -> leave all other services unchecked.

Environment:

  • Azd version: azd version 1.7.0-beta.1-daily.3564805 (commit 81f3efd1049889762d01ca46a35630005b45f0b5)
  • Aspire version: 8.0.0-preview.4.24156.9
  • Sample: OrleansVoting

Expected behavior: azd init command can be executed successfully.

@rajeshkamal5050, @vhvb1989 for notification.

Menghua1 avatar Mar 07 '24 11:03 Menghua1

@davidfowl @DamianEdwards @vhvb1989 https://github.com/dotnet/aspire-samples/tree/preview.4/samples/OrleansVoting is this expected to work with Azd?

rajeshkamal5050 avatar Mar 07 '24 17:03 rajeshkamal5050

@bradygaster ?

DamianEdwards avatar Aug 06 '24 23:08 DamianEdwards

will look at this and try to resolve asap.

bradygaster avatar Nov 14 '24 18:11 bradygaster

I tried the recently-updated-to-9.0 code just now. azd init worked, and azd up is running. I noticed @Menghua1 mentioned their azd version being 1.7.0-beta.1-daily.3564805. I'm on version azd version 1.11.0 (commit 5b92e0687e1fa96dfc8292f4b900c0c58610b6a5). Could you update your azd and try again with these updated projects and let us know if the problem remains?

bradygaster avatar Nov 14 '24 19:11 bradygaster

@bradygaster According to the latest code and azd version test, this issue can no longer be reproduced, thank you.

Menghua1 avatar Nov 15 '24 02:11 Menghua1