question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

publish and deploy by action from github - Oryx has failed to build the solution.

See original GitHub issue

I use static web app on azure and publish through github action.

this is the error i get: /var/nuget/blazorwasmprerendering.build/2.0.0-preview.4/build/BlazorWasmPreRendering.Build.targets(58,5): error MSB3073: The command "dotnet "/var/nuget/blazorwasmprerendering.build/2.0.0-preview.4/build/../tools/net6.0/BlazorWasmPreRendering.Build.dll" -a "SD.WEB" -t "SD.WEB.App" --selectorofrootcomponent "#app,app" --selectorofheadoutletcomponent "head::after" -p "/bin/staticsites/ss-oryx/app" -i "/github/workspace/SD.WEB/obj/Release/net6.0/." -m "" -f "net6.0" --serviceworkerassetsmanifest "service-worker-assets.js" -e "Prerendering" --locale "en" -o "IndexHtmlInSubFolders" -u "" -r "Static" --serverport "5050-5999" --bwapoptionsxorkey """ exited with code 1. [/github/workspace/SD.WEB/SD.WEB.csproj] | 1 | Please build your app locally before publishing. | https://docs.microsoft.com/en-us/azure/app-service/configure-language-dotnetcore?pivots=platform-linux

my project: https://github.com/drma-dev/SD

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:25 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
drma-devcommented, Nov 15, 2022

I don’t think I was ever going to find that out. I’m bad at authentication.

1reaction
jsakamotocommented, Nov 14, 2022

@drma-dev [Progress report] I’m investigating the problem that your site could not prerender with the “BlazorWasmPreRendering.Build” after upgrade to .NET7. Unfortunately, it has been a difficult task. I can’t say anything about the root reason for now, but I think that there is a possibility the Azure static web app’s authentication library might involve with this problem. I continue to try to resolve this problem.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Oryx has failed to build the solution. · Issue #302
Made about 10 commits yesterday and each built and deployed fine. Now today I have come to continue my testing of Azure Static...
Read more >
Azure static webapp Oryx github build breaks
Whenever i push something to the repo, the build triggers, but fails with the error Oryx built the app folder but was unable...
Read more >
React Oryx build fail with TS2307: Cannot find module - Solved
I was trying to deploy my React app in Azure as a Static Web App. ... build in the GitHub Action it was...
Read more >
i have a problem where my workflow fails because of Oryx ...
Run Azure/static-web-apps-deploy@v1 /usr/bin/docker run --name e28490d7b4151381df401482d83050a07b80da_a58f47 --label e28490 --workdir /github/workspace --rm ...
Read more >
Dubious Ownership With Static Web Apps - Ken Muse
This is especially true when using Hugo with Azure Static Web Sites. ... /github/workspace 6Error: Error building site: logged 1 error(s).
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found