# NPM idealTree - Getting stuck

**URL:** <https://forum.buildkite.community/t/npm-idealtree-getting-stuck/1985>\
**Category:** General\
**Created:** [April 13, 2022, 11:19pm UTC](https://forum.buildkite.community/t/npm-idealtree-getting-stuck/1985 "2022-04-13T23:19:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![maycon.nunes](https://avatars.discourse-cdn.com/v4/letter/m/b5e925/32.png) [@maycon.nunes](https://forum.buildkite.community/u/maycon.nunes)\
**Post date:** [April 13, 2022, 11:19pm UTC](https://forum.buildkite.community/t/npm-idealtree-getting-stuck/1985/1 "2022-04-13T23:19:16Z")

</div>

Good day everyone!

I am stucking while run `npm ci`.

`⸨#########⠂⠂⠂⠂⠂⠂⠂⠂⠂⸩ ⠙ idealTree: timing idealTree Completed in 43ms`

After waiting between 3m-9m always seen **Exited with status `-1` (agent lost)**

No success when rerun it…I don’t know what is happening.

Our react app is running under the docker image “node:16.13.1” (npm 8).

Any help would be much appreciated 😄

Thank you in advance

---

<div class="post-metadata">

**Author:** ![paula](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.buildkite.community/paula/32/954_2.png) [@paula](https://forum.buildkite.community/u/paula)\
**Post date:** [April 14, 2022, 1:46am UTC](https://forum.buildkite.community/t/npm-idealtree-getting-stuck/1985/2 "2022-04-14T01:46:31Z")

</div>

Hi @maycon.nunes,

I think for us to properly help with this, you’ll have to share the build link. If you don’t want to share that here please email it to us at [support@buildkite.com](mailto:support@buildkite.com) and we can discuss it via email instead.

In general, this status code usually happens on the elastic stack when the agent is taken away. Reasons range from spot instances being reclaimed to autoscaling reducing instances (although that shouldn’t happen while an agent is running a job). To know for sure though, we’d need to look at the build.

Cheers,  
Jarryd

---

<div class="post-metadata">

**Author:** ![maycon.nunes](https://avatars.discourse-cdn.com/v4/letter/m/b5e925/32.png) [@maycon.nunes](https://forum.buildkite.community/u/maycon.nunes)\
**Post date:** [April 18, 2022, 5:59pm UTC](https://forum.buildkite.community/t/npm-idealtree-getting-stuck/1985/3 "2022-04-18T17:59:20Z")

</div>

Hi @paula!  
Thank you for your support, I’ll prepare it and send by email :)
