Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to read angular build log file when the build fails?

Frantisek_Bekes February 5, 2020

I am having a problem finding out how to open and read angular build log file, since its only in temporary memory for deployment. Here is the output:

 

+ ng buildYour global Angular CLI version (8.3.24) is greater than your localversion (8.3.21). The local Angular CLI version is used.To disable this warning use "ng config -g cli.warnings.versionMismatch false".Generating ES5 bundles for differential loading...An unhandled exception occurred: Call retries were exceededSee "/tmp/ng-bydgvB/angular-errors.log" for further details.

1 answer

0 votes
mkleint
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 11, 2020

I assume the problem is the random part in the path after /tmp ?

can you use after-script and print any file that matches a pattern? like `cat /tmp/*/angular-errors.log`

more info on after-script - https://bitbucket.org/blog/after-scripts-now-available-for-bitbucket-pipelines

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events