# ./launcher rebuild app error: bootstrap failed with exit code 234

**URL:** <https://meta.discourse.org/t/launcher-rebuild-app-error-bootstrap-failed-with-exit-code-234/353999>\
**Category:** Product Support\
**Created:** [February 23, 2025, 8:22pm UTC](https://meta.discourse.org/t/launcher-rebuild-app-error-bootstrap-failed-with-exit-code-234/353999 "2025-02-23T20:22:55Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![jahan\_gagan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jahan_gagan/32/501948_2.png) [@jahan\_gagan](https://meta.discourse.org/u/jahan_gagan)\
**Post date:** [February 23, 2025, 9:01pm UTC](https://meta.discourse.org/t/launcher-rebuild-app-error-bootstrap-failed-with-exit-code-234/353999/3 "2025-02-23T21:01:38Z")

</div>

The error is due to a mismatch between `yarn` and `pnpm` . The failure is specifically due to:  
`EINVAL: invalid argument, rmdir '/var/www/discourse/app/assets/javascripts/dialog-holder/node_modules/.bin'`

**Suggested Steps:**

1. Manually remove Node Modules: `rm -rf node_modules app/assets/javascripts/*/node_modules`
2. Run cleanup: `./launcher cleanup`
3. Rebuild Discourse: `./launcher rebuild app`

---

_[View the full topic](https://meta.discourse.org/t/launcher-rebuild-app-error-bootstrap-failed-with-exit-code-234/353999)._
