Skip to content

Failed to run azd up for aspire-with-javascript sample due to frontend build/package failures #1662

@Menghua1

Description

@Menghua1

Describe the issue:
When running azd up in samples/aspire-with-javascript, the deployment fails during the packaging/build phase for multiple frontend services. Services including angular, react, and vue are unable to complete image builds, with errors such as process "/bin/sh -c npm install" did not complete successfully: exit code: 1 and The system cannot find the file specified.

Image Image

Repro Steps:

  1. Run git clone https://github.com/dotnet/aspire-samples.git.
  2. Run azd auth login.
  3. Run cd samples/aspire-with-javascript.
  4. Run azd init.
  5. Run azd up.

Environment:

  • Branch: main
  • Azd version: azd version 1.25.3-daily.6367899 (commit 5415d38ec116421c280491764d5ff559e6cd0f7f) (daily)
  • Samples: aspire-with-javascript.

Expected behavior:
azd up can successfully run for sample aspire-with-javascript.

@RickWinter for notification.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions