# Error while setting up the project

**URL:** <https://community.metabrainz.org/t/error-while-setting-up-the-project/509769>\
**Category:** BookBrainz\
**Created:** [December 21, 2020, 11:04am UTC](https://community.metabrainz.org/t/error-while-setting-up-the-project/509769 "2020-12-21T11:04:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![frappe28](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/f/ac8455/32.png) [@frappe28](https://community.metabrainz.org/u/frappe28)\
**Post date:** [December 21, 2020, 11:04am UTC](https://community.metabrainz.org/t/error-while-setting-up-the-project/509769/1 "2020-12-21T11:04:11Z")

</div>

@mr_monkey

 ![bookbrainz](https://community.metabrainz.org/uploads/default/original/3X/5/9/599b71115ec43861aed51399e60f70e4fe06e7e5.png)

---

<div class="post-metadata">

**Author:** ![mr\_monkey](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/m/e95f7d/32.png) [@mr\_monkey](https://community.metabrainz.org/u/mr_monkey)\
**Post date:** [December 22, 2020, 10:53am UTC](https://community.metabrainz.org/t/error-while-setting-up-the-project/509769/2 "2020-12-22T10:53:05Z")

</div>

I confirm I ran into this issue.  
The build system is looking for a file in `/lobes/less/lobes/assets/` instead of `/lobes/assets/`.

I don’t have a good fix for it yet, but in the meantime, to allow you to move past the error, you can manually copy the file `src/client/stylesheets/lobes/assets/background_tile.jpg` into a new directory `src/client/stylesheets/lobes/less/lobes/assets/`. Note that the last two don’t exist yet in the `less` directory yet.

I’ll keep you updated when the issue is fixed

---

<div class="post-metadata">

**Author:** ![LordSputnik](https://community.metabrainz.org/user_avatar/community.metabrainz.org/lordsputnik/32/47_2.png) [@LordSputnik](https://community.metabrainz.org/u/LordSputnik)\
**Post date:** [December 22, 2020, 11:35am UTC](https://community.metabrainz.org/t/error-while-setting-up-the-project/509769/3 "2020-12-22T11:35:39Z")

</div>

Confirm I’m also seeing this, but I seem to be able to run the site by doing a “build” followed by a “start”. Could it be something to do with whether we’re in “production” mode? If I get a bit of time today I’ll dig a little deeper.

---

<div class="post-metadata">

**Author:** ![mr\_monkey](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/m/e95f7d/32.png) [@mr\_monkey](https://community.metabrainz.org/u/mr_monkey)\
**Post date:** [December 22, 2020, 12:00pm UTC](https://community.metabrainz.org/t/error-while-setting-up-the-project/509769/4 "2020-12-22T12:00:43Z")

</div>

I first saw the issue after the introduction of Typescript in the build. It might be worth checking out a commit before those PRs were merged to check.

Not sure how adding ts to webpack would be breaking less build, but it’s the only recent change to the build process.

---

<div class="post-metadata">

**Author:** ![frappe28](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/f/ac8455/32.png) [@frappe28](https://community.metabrainz.org/u/frappe28)\
**Post date:** [December 23, 2020, 12:15pm UTC](https://community.metabrainz.org/t/error-while-setting-up-the-project/509769/5 "2020-12-23T12:15:21Z")

</div>

It worked. Thanks @mr_monkey 🙂
