microsoft / microsoft/Oryx

AzureStaticWebApp@0 insist of installing older node version which lead to failure

Open
#2,367 4 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.