AzureStaticWebApp@0 insist of installing older node version which lead to failure
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 881
- Forks
- 195
- Avg merge
- 20h 13m
- Merged PRs (30d)
- 13
Description
Bug Report
-
At what date and time did you most recently experience the problem? 2024 /02/24
-
Where did you experience the problem? E.g. Azure Web Apps, Azure Functions, Azure Container Registry, or offline use.
Azure Static Web App step in pipeline -
If your repo is publicly available please share its URL:
no -
What happened?
the deployment of SWA is failing because the required node version is not installed. and it seem this is not the version for pipeline agent but the version of container that this step creates -
What did you expect or want to happen?
to pass this step successfully -
How can we reproduce it?
create angular app with the latest version and enable ssr , but keep in mind I am only diploying the "browser" folder from dist which mean only static files -
Do you have log output? Please include between the backticks:
yes
log9.txt
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked log9.txt and the AzureStaticWebApp@0 deployment path, then investigate which Node.js version the generated container installs for an Angular SSR project. Reproduce the failure with a latest-version Angular app while deploying only its dist/browser folder; done means the static deployment completes successfully without requiring an older unavailable Node.js version.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, azure, node.js
- Domain
- build-system, cloud, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100