Skip to content

Conversation

@mengyimicro
Copy link
Contributor

This PR fixes two issues in the Node.js deployment path of the A365 CLI:

  1. Built assets in dist/ were not being deployed
    Node projects that use start: "node dist/index.js" failed on Azure with:
    Error: Cannot find module '/home/site/wwwroot/dist/index.js'

because the dist folder was never copied into the publish output.

  1. Node Oryx manifest sometimes contained Python build commands
    Generated oryx-manifest.toml files for Node projects could contain a
    build-command like:
[build]
platform = "nodejs"
version = "18"
build-command = "pip install -r requirements.txt"

which is incorrect for Node and causes confusing / broken builds.

@mengyimicro mengyimicro requested a review from a team as a code owner December 4, 2025 22:03
Copilot AI review requested due to automatic review settings December 4, 2025 22:03
@mengyimicro mengyimicro requested a review from a team as a code owner December 4, 2025 22:03
Copilot finished reviewing on behalf of mengyimicro December 4, 2025 22:06
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

sellakumaran
sellakumaran previously approved these changes Dec 5, 2025
@mengyimicro mengyimicro merged commit 8acf918 into main Dec 5, 2025
5 checks passed
@mengyimicro mengyimicro deleted the users/mengyixu/fixNodeDeployEntryPoint branch December 5, 2025 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants