atlassian-jira-software-8.0.0-m0030-source build error

Olivera Tancheva December 20, 2018

Hello everyone,

I am trying to build version atlassian-jira-software-8.0.0-m0030-source, and I get the following errors:

[ERROR] error An unexpected error occurred: "https://packages.atlassian.com/api/npm/atlassian-npm/@atlassian%2feslint-plugin-aui-deprecation/-/@atlassian%2feslint-plugin-aui-deprecation-0.0.2.tgz: Request failed \"401 Unauthorized\"".
[INFO] info If you think this is a bug, please open a bug report with the information provided in "C:\\atlassian-jira-software-8.0.0-m0030-source\\jira-project\\yarn-error.log".
[INFO] info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
[ERROR] Process stalled
[ERROR] Active handles:
[ERROR]   - Socket
[ERROR]   - Socket
[ERROR]   - Socket

 

Also:

[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.6:yarn (yarn install) on project jira-project: Failed to run task: 'yarn install --production --frozen-lockfile --prefer-offline --mutex network --no-progress' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) -> [Help 1]

 

3 answers

0 votes
Alexander Yakovunik March 11, 2020

I am also trying to build jira 8.2.2 from source code. I use this article:
https://developer.atlassian.com/server/jira/platform/building-jira-from-source/
There is phrase in this article: "The following instructions were tested for Jira 7.4.0." So, for v8.0 and more these instructions were not tested?

I have errors:

[ERROR] error https://packages.atlassian.com/api/npm/atlassian-npm/@atlassian%2feslint-plugin-jira-event-checks/-/@atlassian%2feslint-plugin-jira-event-checks-0.1.1.tgz: Extracting tar content of undefined failed, the file appears to be corrupt: "Unexpected end of data"
[INFO] info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
[ERROR] Process stalled
[ERROR] Active handles:
[ERROR] - Socket
[ERROR] - Socket
[ERROR] - Socket

...
[INFO] Atlassian JIRA - Server 8.2.2 ...................... FAILURE [01:13 min]
...
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.6:yarn (yarn install) on project jira-project: Failed to run task: 'yarn install --production --frozen-lockfile --prefer-offline --mutex network --no-progress' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) -> [Help 1]

First [ERROR]: Name of package in .tgz change in every compilation trying.

0 votes
replay11111 March 2, 2019

Yeah, I am trying also and I am getting same error:

 

error An unexpected error occurred: "https://packages.atlassian.com/api/npm/atlassian-npm/@atlassian%2feslint-plugin-aui-deprecation/-/@atlassian%2feslint-plugin-aui-deprecation-0.0.2.tgz: Request failed \"401 Unauthorized\"".

 

It looks that I cannot download plugin required by yarn/node.

Ahmed_Bilal January 20, 2020

Hello,

 

Did anyone able to resolve this error? I am building JIRA 8.6 from source but getting below error.

 

[ERROR] error An unexpected error occurred: "https://packages.atlassian.com/api/npm/atlassian-npm/@atlassian/aui/-/@atlassian/aui-7.8.1.tgz: Request failed \"401 Unauthorized\"".
[INFO] info If you think this is a bug, please open a bug report with the information provided in "C:\\SourceCodes\\jira-8.6.1-source\\jira-project\\jira-components\\jira-plugins\\jira-quicksearch-plugin\\yarn-error.log".
[INFO] info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
[ERROR] Process stalled
[ERROR] Active handles:
[ERROR] - Socket
[ERROR] - Socket
[ERROR] - Socket
[ERROR] - TLSSocket
[ERROR] - TLSSocket
[ERROR] - TLSSocket
[ERROR] - TLSSocket
[ERROR] - TLSSocket
[ERROR] - TLSSocket

Suggest an answer

Log in or Sign up to answer