Issue in deploying React JS + Node JS application on Azure Devops

Open
#2,426 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
20/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
azure, nodejs, react

Research direction

No repository files or tests are provided. Start with the Oryx build command and platform-detection errors in the log, then investigate the Azure Web Apps deployment path and the Azure Repos source configuration. Done means the React and Node.js application is detected and deployed successfully without the reported Oryx error.

Written by the indexing model from the issue text.

Description

Bug Report
  • At what date and time did you most recently experience the problem?
    -Always

  • Where did you experience the problem? E.g. Azure Web Apps, Azure Functions, Azure Container Registry, or offline use.
    Azure Web Apps

  • If your repo is publicly available please share its URL:
    it is not public, it is on azure repos

  • What happened?

  • What did you expect or want to happen?

  • How can we reproduce it?

  • Do you have log output? Please include between the backticks:
    Command: oryx build /home/site/repository -o /home/site/wwwroot --platform nodejs --platform-version 18 -p virtualenv_name= --log-file /tmp/build-debug.log -i /tmp/8dc6f68aebdcd5d -p compress_node_modules=tar-gz | tee /tmp/oryx-build.log
    Operation performed by Microsoft Oryx, https://github.com/Microsoft/Oryx
    You can report issues at https://github.com/Microsoft/Oryx/issues

Oryx Version: 0.2.20230508.1, Commit: 7fe2bf39b357dd68572b438a85ca50b5ecfb4592, ReleaseTagName: 20230508.1

Build Operation ID: 7faaeea8fa39c806
Repository Commit : 1266fbe6db0afdbc1294da6c7598244329afd9ca
OS Type : bullseye
Image Type : githubactions

Detecting platforms...
Could not detect any platform in the source directory.
Error: Couldn't detect a version for the platform 'nodejs' in the repo.
Error: Couldn't detect a version for the platform 'nodejs' in the repo.\n/bin/bash -c "oryx build /home/site/repository -o /home/site/wwwroot --platform nodejs --platform-version 18 -p virtualenv_name= --log-file /tmp/build-debug.log -i /tmp/8dc6f68aebdcd5d -p compress_node_modules=tar-gz | tee /tmp/oryx-build.log ; exit $PIPESTATUS "


Dominant language
C#
Stars
881
Forks
195
Avg merge
20h 13m
Merged PRs (30d)
13

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.

More from microsoft/Oryx

All issues in microsoft/Oryx

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.