[GH-ISSUE #1038] Unable to deploy git to Azure #548

Closed
opened 2026-03-02 12:43:10 +03:00 by kerem · 3 comments
Owner

Originally created by @BITsmartIT on GitHub (Jul 26, 2022).
Original GitHub issue: https://github.com/KelvinTegelaar/CIPP/issues/1038

Description

I have tried to run the deployment using the Deploy button as well as manually following the instructions. Both have resulted in the following error when deploying from Git to Azure.

Can you advise. Thank you.

Detecting platforms...
Detected following platforms:
nodejs: 14.19.1
Version '14.19.1' of platform 'nodejs' is not installed. Generating script to install it...
Error: Could not find either 'build' or 'build:azure' node under 'scripts' in package.json. Could not find value for custom run build command using the environment variable key 'RUN_BUILD_COMMAND'.Could not find tools for building monorepos, no 'lerna.json' or 'lage.config.js' files found.

---End of Oryx build logs---
Oryx could not find a 'build' or 'build:azure' script in the package configuration. Please add one of these commands to your package configuration file (i.e. package.json). Alternatively, you can add the app_build_command to the build/deploy section of your workflow file. For example, app_build_command: 'npm run docs:build'

Environment data

Azure
Originally created by @BITsmartIT on GitHub (Jul 26, 2022). Original GitHub issue: https://github.com/KelvinTegelaar/CIPP/issues/1038 ### Description I have tried to run the deployment using the Deploy button as well as manually following the instructions. Both have resulted in the following error when deploying from Git to Azure. Can you advise. Thank you. Detecting platforms... Detected following platforms: nodejs: 14.19.1 Version '14.19.1' of platform 'nodejs' is not installed. Generating script to install it... Error: Could not find either 'build' or 'build:azure' node under 'scripts' in package.json. Could not find value for custom run build command using the environment variable key 'RUN_BUILD_COMMAND'.Could not find tools for building monorepos, no 'lerna.json' or 'lage.config.js' files found. ---End of Oryx build logs--- Oryx could not find a 'build' or 'build:azure' script in the package configuration. Please add one of these commands to your package configuration file (i.e. package.json). Alternatively, you can add the app_build_command to the build/deploy section of your workflow file. For example, app_build_command: 'npm run docs:build' ### Environment data ```PowerShell Azure ```
kerem 2026-03-02 12:43:10 +03:00
Author
Owner

@github-actions[bot] commented on GitHub (Jul 26, 2022):

Thank you for creating a bug. Please make sure your bug is indeed a unique case by checking current and past issues, and reading the complete documentation at https://kelvintegelaar.github.io/CIPP
If your bug is a known documentation issue, it will be closed without notice by a contributor. To confirm that this is not a bug found in the documentation, please copy and paste the following comment: "I confirm that I have checked the documentation thoroughly and believe this to be an actual bug.".

Without confirming, your report will be closed in 24 hours. If you'd like this bug to be assigned to you, please comment "I would like to work on this please!".

<!-- gh-comment-id:1196104233 --> @github-actions[bot] commented on GitHub (Jul 26, 2022): Thank you for creating a bug. Please make sure your bug is indeed a unique case by checking current and past issues, and reading the complete documentation at https://kelvintegelaar.github.io/CIPP If your bug is a known documentation issue, it will be closed without notice by a contributor. To confirm that this is not a bug found in the documentation, please copy and paste the following comment: "I confirm that I have checked the documentation thoroughly and believe this to be an actual bug.". Without confirming, your report will be closed in 24 hours. If you'd like this bug to be assigned to you, please comment "I would like to work on this please!".
Author
Owner

@JohnDuprey commented on GitHub (Jul 26, 2022):

It appears you're missing a fork of this repository as you only have CIPP-API.
Take a look here and jump on the CyberDrain discord if you have questions.

<!-- gh-comment-id:1196108068 --> @JohnDuprey commented on GitHub (Jul 26, 2022): It appears you're missing a fork of this repository as you only have CIPP-API. Take a look [here](https://cipp.app/docs/user/gettingstarted/prerequisites) and jump on the CyberDrain discord if you have questions.
Author
Owner

@BITsmartIT commented on GitHub (Jul 27, 2022):

Thank for such a quick response. I believe that I have both CIPP and CIP-API setup. CIPP is marked as private. Could that be an issue?

Regards
Raoul
[BITsmart.IT_logo]
BITsmart.IT – IT Solutions
PO Box 580 Sutherland, NSW, 1499
P: 02 9881 5678
E: @.@.>
W. www.bitsmart.ithttp://www.bitsmart.it/
Please consider the environment before printing this email.

This email is confidential. The views and opinions expressed in this email are those of the sender and do not necessarily reflect the views of the organisation by whom they are employed, except when the sender expressly and with authority states them to be so.

From: John Duprey @.>
Sent: Wednesday, 27 July 2022 9:54 AM
To: KelvinTegelaar/CIPP @.
>
Cc: Raoul Edmonds @.>; Author @.>
Subject: Re: [KelvinTegelaar/CIPP] Unable to deploy git to Azure (Issue #1038)

It appears you're missing a fork of this repository as you only have CIPP-API.
Take a look herehttps://linkprotect.cudasvc.com/url?a=https%3a%2f%2fcipp.app%2fdocs%2fuser%2fgettingstarted%2fprerequisites&c=E,1,zUIqQhdfoNmtr3q7JsocJLUOFdlO5bFhFpgSRlMLQKWunFHI91iXdshYiqq84M6qgoMRcaOfu_9qAWa534yCDMstQc_u2_mJnFR5W2da2d7BM24l2O37OGo,&typo=1 and jump on the CyberDrain discord if you have questions.


Reply to this email directly, view it on GitHubhttps://github.com/KelvinTegelaar/CIPP/issues/1038#issuecomment-1196108068, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A2HP454PDVQNOLZQUBHVNSLVWB3CPANCNFSM54XVX25A.
You are receiving this because you authored the thread.Message ID: @.***>

<!-- gh-comment-id:1196146832 --> @BITsmartIT commented on GitHub (Jul 27, 2022): Thank for such a quick response. I believe that I have both CIPP and CIP-API setup. CIPP is marked as private. Could that be an issue? Regards Raoul [BITsmart.IT_logo] BITsmart.IT – IT Solutions PO Box 580 Sutherland, NSW, 1499 P: 02 9881 5678 E: ***@***.******@***.***> W. www.bitsmart.it<http://www.bitsmart.it/> Please consider the environment before printing this email. This email is confidential. The views and opinions expressed in this email are those of the sender and do not necessarily reflect the views of the organisation by whom they are employed, except when the sender expressly and with authority states them to be so. From: John Duprey ***@***.***> Sent: Wednesday, 27 July 2022 9:54 AM To: KelvinTegelaar/CIPP ***@***.***> Cc: Raoul Edmonds ***@***.***>; Author ***@***.***> Subject: Re: [KelvinTegelaar/CIPP] Unable to deploy git to Azure (Issue #1038) It appears you're missing a fork of this repository as you only have CIPP-API. Take a look here<https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fcipp.app%2fdocs%2fuser%2fgettingstarted%2fprerequisites&c=E,1,zUIqQhdfoNmtr3q7JsocJLUOFdlO5bFhFpgSRlMLQKWunFHI91iXdshYiqq84M6qgoMRcaOfu_9qAWa534yCDMstQc_u2_mJnFR5W2da2d7BM24l2O37OGo,&typo=1> and jump on the CyberDrain discord if you have questions. — Reply to this email directly, view it on GitHub<https://github.com/KelvinTegelaar/CIPP/issues/1038#issuecomment-1196108068>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/A2HP454PDVQNOLZQUBHVNSLVWB3CPANCNFSM54XVX25A>. You are receiving this because you authored the thread.Message ID: ***@***.***>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/CIPP#548
No description provided.