Skip to content

[AspireE2E] When running the Starter App (Express/React) project using aspire run in CMD, the following error occurred: Timed out waiting for AppHost server to start after 60 seconds. #15428

@v-reinawang

Description

@v-reinawang

REGRESSION INFO: Not repro on previous Aspire CLI version 13.2.0

INSTALL STEPS

  1. Clean machine: Windows x64 25h2
  2. Install SDK 10.0 201
  3. Install Aspire.CLI 13.2.0

REPRO STEPS

  1. Open a normal Command Prompt
  2. Use aspire new to create a Starter App (Express/React) project
  3. Go to the project folder and run the app with aspire run

Actual Result
❌ An unexpected error occurred: Timed out waiting for AppHost server to start after 60 seconds. Check the debug logs for more details.
Image

If I press Ctrl + C to stop running, two "Stopping Aspire" messages will appear.
Image

[2026-03-20 05:57:28.318] [INFO] [Program] Version: 13.2.0+aad16017893bd769e0634c47fb007f1454735f11
[2026-03-20 05:57:28.319] [INFO] [Program] Build ID: 13.200.26.16909
[2026-03-20 05:57:28.319] [INFO] [Program] Working directory: C:\Users\v-reinawang\express11
[2026-03-20 05:57:28.419] [INFO] [Program] Command: aspire run
[2026-03-20 05:57:28.421] [INFO] [ProjectLocator] Found AppHost path 'apphost.ts' from config file in C:\Users\v-reinawang\express11
[2026-03-20 05:57:28.466] [INFO] [ConfigurationService] Found settings file at C:\Users\v-reinawang\express11\aspire.config.json
[2026-03-20 05:57:28.467] [INFO] [GuestAppHostProject] Loaded config from C:\Users\v-reinawang\express11 (file exists: True)
[2026-03-20 05:57:28.470] [WARN] [PrebuiltAppHostServer] Project reference assembly names file not found at C:\Users\v-reinawang\.aspire\packages\restore\7F14DD56C3A4EA62\libs\_project-ref-assemblies.txt
[2026-03-20 05:57:28.472] [INFO] [ConfigurationService] Found settings file at C:\Users\v-reinawang\express11\aspire.config.json
[2026-03-20 05:57:28.474] [INFO] [ConfigurationService] Found settings file at C:\Users\v-reinawang\express11\aspire.config.json
[2026-03-20 05:57:32.595] [INFO] [AppHost] 
[2026-03-20 05:57:32.595] [INFO] [AppHost] up to date, audited 115 packages in 1s
[2026-03-20 05:57:32.595] [INFO] [AppHost] 
[2026-03-20 05:57:32.596] [INFO] [AppHost] 35 packages are looking for funding
[2026-03-20 05:57:32.596] [INFO] [AppHost]   run `npm fund` for details
[2026-03-20 05:57:32.598] [INFO] [AppHost] 
[2026-03-20 05:57:32.598] [INFO] [AppHost] 1 high severity vulnerability
[2026-03-20 05:57:32.598] [INFO] [AppHost] 
[2026-03-20 05:57:32.598] [INFO] [AppHost] To address all issues, run:
[2026-03-20 05:57:32.598] [INFO] [AppHost]   npm audit fix
[2026-03-20 05:57:32.598] [INFO] [AppHost] 
[2026-03-20 05:57:32.598] [INFO] [AppHost] Run `npm audit` for details.
[2026-03-20 05:57:32.712] [INFO] [GuestAppHostProject] Generated 3 TypeScript files in C:\Users\v-reinawang\express11\.modules
[2026-03-20 05:58:28.999] [FAIL] [GuestAppHostProject] Timed out waiting for AppHost server to start after 60 seconds
[2026-03-20 05:58:29.000] [FAIL] [AspireCliTelemetry] An unexpected error occurred: Timed out waiting for AppHost server to start after 60 seconds. Check the debug logs for more details.
System.TimeoutException: Timed out waiting for AppHost server to start after 60 seconds. Check the debug logs for more details.
   at Aspire.Cli.Commands.RunCommand.<>c__DisplayClass20_0.<<ExecuteAsync>b__0>d.MoveNext() + 0x55
--- End of stack trace from previous location ---
   at Spectre.Console.Status.<>c__DisplayClass17_0`1.<<StartAsync>b__0>d.MoveNext() + 0x72
--- End of stack trace from previous location ---
   at Spectre.Console.Progress.<>c__DisplayClass32_0`1.<<StartAsync>b__0>d.MoveNext() + 0x272
--- End of stack trace from previous location ---
   at Spectre.Console.Internal.DefaultExclusivityMode.<RunAsync>d__3`1.MoveNext() + 0x168
--- End of stack trace from previous location ---
   at Spectre.Console.Progress.<StartAsync>d__32`1.MoveNext() + 0x71
--- End of stack trace from previous location ---
   at Spectre.Console.Status.<StartAsync>d__17`1.MoveNext() + 0x74
--- End of stack trace from previous location ---
   at Aspire.Cli.Interaction.ConsoleInteractionService.<ShowStatusAsync>d__17`1.MoveNext() + 0x190
--- End of stack trace from previous location ---
   at Aspire.Cli.Commands.RunCommand.<ExecuteAsync>d__20.MoveNext() + 0x4ef
[2026-03-20 05:58:29.001] [INFO] [Program] Exit code: 2

Expected Result
It can run successfully

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions