# Installing discourse for development is failing

**URL:** https://meta.discourse.org/t/installing-discourse-for-development-is-failing/260221
**Category:** Self-hosting
**Tags:** docker, dev-install
**Created:** [April 1, 2023, 4:50pm UTC](https://meta.discourse.org/t/installing-discourse-for-development-is-failing/260221 "2023-04-01T16:50:14Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [April 5, 2023, 5:50pm UTC](https://meta.discourse.org/t/installing-discourse-for-development-is-failing/260221/7 "2023-04-05T17:50:58Z")

</div>

I think this is the same error reported over at

> [@Install Discourse for development using Docker](https://meta.discourse.org/t/install-discourse-for-development-using-docker/102009/253):
>
> Same, it errors when trying to bake the admin user profile. It works after adding a step to yarn install before creating the admin [as suggested](https://meta.discourse.org/t/install-discourse-for-development-using-docker/102009/239) by @zergov. I went ahead and created a PR to add it: [DEV: Yarn install to avoid error during initial migration seed by dsims · Pull Request #20866 · discourse/discourse · GitHub](https://github.com/discourse/discourse/pull/20866)

I just merged @dsims’s PR into Discourse core, so if you pull the latest `main`, things should work much better 🤞

[https://github.com/discourse/discourse/commit/6415bab455f4fd2b6f343384abec17c128f3bb6c](https://github.com/discourse/discourse/commit/6415bab455f4fd2b6f343384abec17c128f3bb6c)

---

_[View the full topic](https://meta.discourse.org/t/installing-discourse-for-development-is-failing/260221)._
