# Bootstrap / rebuild without cloning everything over again?

**URL:** <https://meta.discourse.org/t/bootstrap-rebuild-without-cloning-everything-over-again/214354>\
**Category:** Support\
**Created:** [January 10, 2022, 9:52am UTC](https://meta.discourse.org/t/bootstrap-rebuild-without-cloning-everything-over-again/214354 "2022-01-10T09:52:59Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [January 10, 2022, 5:05pm UTC](https://meta.discourse.org/t/bootstrap-rebuild-without-cloning-everything-over-again/214354/6 "2022-01-10T17:05:01Z")

</div>

> [@leoniscsem](#):
>
> just this yarn subprocess invokes the following:
> 
> ```plaintext
> INFO -- : > cd /var/www/discourse && [! -d 'node_modules'] || su discourse -c 'yarn install --production && yarn cache clean'
> 
> ```
> 
> For whatever reason the GFW doesn’t like too many git clone processes after another,

That shouldn’t be `git clones` but install from the NPM package registry. For sure there may be an equivalent of `bundle config mirror.https://rubygems.org https://gems.ruby-china.com/` for NPM/Yarn.

---

_[View the full topic](https://meta.discourse.org/t/bootstrap-rebuild-without-cloning-everything-over-again/214354)._
