Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Taking forever to fetch dependency from bitbucket (specified in package.json)

meteograms September 8, 2024

I have a dependency in the package.json file for a node.js app deployed using a Dockerfile that itself calls `RUN npm install`.  The dependency is expressed in the following form in package.json:

  "dependencies": {

 

This has worked fine for years. It still works, but I'm finding that recently that the docker build process hangs for a looong time (around 10 mins) on the `RUN npm install` step.  In the past it was maybe a few seconds... not really sure but never enough to notice particularly.

The bitbucket repo dependency is the only dependency, so it must relate to that?  When I view the server stats, it seems like nothing is really going on... CPU and network activity flatlining... so it seems like it is just waiting.

Any ideas why it's taking so long recently?

1 answer

0 votes
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 9, 2024

G'day, @meteograms 

It's hard to say without viewing your build to understand the issue. So I suggest try to reproduce them locally following the guide here and see if it's showing the same behavior.

Let me know the results.

Regards,
Syahrul

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events