Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while deploying React App to Azure (azd) #2246

Closed
adamtrip opened this issue Feb 15, 2024 · 5 comments
Closed

Error while deploying React App to Azure (azd) #2246

adamtrip opened this issue Feb 15, 2024 · 5 comments

Comments

@adamtrip
Copy link

Hi there. Not sure if to post here or on azd repo but here it goes.

While deploying to azure with github actions using the example provided here, i'm getting the following error deploying a react app:

ERROR: failed packaging service 'drcpwebapp': failing invoking action 'package', parsing source container image: empty image URL provided

I'm using version 8.0.0-preview.3.24076.8.

builder.AddNpmApp("drcpwebapp", "../drcp-frontend", "dev")
    .WithEndpoint(3000, scheme: "http", env: "PORT")
    .WithReference(authService)
    .WithReference(machineService)
    .AsDockerfileInManifest();

Thanks in advance!

@dotnet-issue-labeler dotnet-issue-labeler bot added the area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication label Feb 15, 2024
@adamtrip
Copy link
Author

Just a quick update. Decided to try and deploy manually using azd up directly on my machine. Everthing deploys however, I get the error that .NET is not installed on every dotnet service.

@davidfowl
Copy link
Member

Can you file this here https://github.com/Azure/azure-dev/issues

@timheuer
Copy link
Member

I just hit this as well, logged Azure/azure-dev#3391. I'm not getting past this locally even like you are @adamtrip

@timheuer
Copy link
Member

Yep, I'm using the same sample https://github.com/timheuer/js-aspire

@davidfowl davidfowl added area-deployment and removed untriaged area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication labels Mar 10, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Oct 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants