# Fresh installing of dependencies via pnpm install doesn't finish the step

**URL:** <https://discuss.circleci.com/t/fresh-installing-of-dependencies-via-pnpm-install-doesnt-finish-the-step/50795>\
**Category:** Build Environment\
**Created:** [March 15, 2024, 8:26am UTC](https://discuss.circleci.com/t/fresh-installing-of-dependencies-via-pnpm-install-doesnt-finish-the-step/50795 "2024-03-15T08:26:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomekdev](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/tomekdev/32/35124_2.png) [@tomekdev](https://discuss.circleci.com/u/tomekdev)\
**Post date:** [March 15, 2024, 8:26am UTC](https://discuss.circleci.com/t/fresh-installing-of-dependencies-via-pnpm-install-doesnt-finish-the-step/50795/1 "2024-03-15T08:26:41Z")

</div>

Typically dependencies are installed from the cache and that works but I recently bumped one of them and `pnpm install` command that I use, is performing a proper install but **the build step gets stuck on this output** :

> **“Install dependencies” step**
> 
> #!/bin/bash -eo pipefail  
> pnpm install  
> Lockfile is up to date, resolution step is skipped  
> Progress: resolved 1, reused 0, downloaded 0, added 0  
> Packages: +2196
> 
> Progress: resolved 2196, reused 1, downloaded 54, added 45  
> Progress: resolved 2196, reused 1, downloaded 654, added 770  
> Progress: resolved 2196, reused 1, downloaded 1218, added 1325  
> Packages are cloned from the content-addressable store to the virtual store.  
> Content-addressable store is at: /home/circleci/.local/share/pnpm/store/v3  
> Virtual store is at: node\_modules/.pnpm  
> Progress: resolved 2196, reused 1, downloaded 1799, added 1906  
> Progress: resolved 2196, reused 1, downloaded 2072, added 2195  
> Progress: resolved 2196, reused 1, downloaded 2072, added 2196, done  
> …/core-js@2.6.12/node\_modules/core-js postinstall$ node -e “try{require(‘./postinstall’)}catch(e){}”  
> …/node\_modules/puppeteer postinstall$ node install.js  
> …/core-js@2.6.12/node\_modules/core-js postinstall: Done  
> …/node\_modules/puppeteer postinstall: Chrome (116.0.5845.96) downloaded to /home/circleci/.cache/puppeteer/chrome/linux-116.0.5845.96

I SSHed to the machine and performed `pnpm install` from there. **That works!** It finishes properly. I also experimented with different versions of `pnpm` from 8.6.6 to the latest 8.15.4, but the result is the same.

I suspect the problem is with output on CircleCI 🤔 As mentioned, installing on the SSHed machine and locally shows no problems at all so I think `pnpm` is not guilty here.

Please advise 🙏

---

<div class="post-metadata">

**Author:** ![rit1010](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/rit1010/32/34738_2.png) [@rit1010](https://discuss.circleci.com/u/rit1010)\
**Post date:** [March 15, 2024, 11:12am UTC](https://discuss.circleci.com/t/fresh-installing-of-dependencies-via-pnpm-install-doesnt-finish-the-step/50795/2 "2024-03-15T11:12:37Z")

</div>

Can you post your config.yml file or a cut-down version that shows the same problem?

---

<div class="post-metadata">

**Author:** ![tomekdev](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/tomekdev/32/35124_2.png) [@tomekdev](https://discuss.circleci.com/u/tomekdev)\
**Post date:** [March 15, 2024, 7:20pm UTC](https://discuss.circleci.com/t/fresh-installing-of-dependencies-via-pnpm-install-doesnt-finish-the-step/50795/3 "2024-03-15T19:20:34Z")

</div>

I’ll prepare a repo that I can share in the next business-day. Thanks! 🙂

---

<div class="post-metadata">

**Author:** ![tomekdev](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/tomekdev/32/35124_2.png) [@tomekdev](https://discuss.circleci.com/u/tomekdev)\
**Post date:** [March 16, 2024, 9:57am UTC](https://discuss.circleci.com/t/fresh-installing-of-dependencies-via-pnpm-install-doesnt-finish-the-step/50795/4 "2024-03-16T09:57:19Z")

</div>

I prepared a repo with reproduction and it worked 🤔 So I retriggered the workflow for the project… and it works now as well.

I can’t explain it any other way than some temporary network issue with package mirrors, registers, or whatever 🤷‍♂️

Marking as solved because I don’t have this problem anymore. But what was the reason? IDK 🤷‍♂️

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/circleci/original/3X/5/1/511608acda8e85906e15909b57bd0a46c1dbe291.png) [@system](https://discuss.circleci.com/u/system)\
**Post date:** [March 23, 2024, 9:57am UTC](https://discuss.circleci.com/t/fresh-installing-of-dependencies-via-pnpm-install-doesnt-finish-the-step/50795/5 "2024-03-23T09:57:36Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
