# Desenvolvimento do Discourse: Falha ao registrar/atualizar um ServiceWorker

**URL:** <https://meta.discourse.org/t/discourse-development-failed-to-register-update-a-serviceworker/89055>\
**Category:** Product Support\
**Created:** [3 Junho , 2018 18:29 UTC](https://meta.discourse.org/t/discourse-development-failed-to-register-update-a-serviceworker/89055 "2018-06-03T18:29:53Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![kleinfreund](https://avatars.discourse-cdn.com/v4/letter/k/a6a055/32.png) [@kleinfreund](https://meta.discourse.org/u/kleinfreund)\
**Post date:** [5 Junho , 2018 18:54 UTC](https://meta.discourse.org/t/discourse-development-failed-to-register-update-a-serviceworker/89055/5 "2018-06-05T18:54:40Z")

</div>

> [@featheredtoast](#):
>
> Did you compile assets in your dev environment at some point? You may still have an assets manifest file that can cause this. Try clearing your `public/assets` folder.

No such directory exists. Investigating this more closely, it turns out that this is precisely the problem.

```bash
mkdir public/assets

```

Creating the directory solves the issue. There probably should be a check against this somewhere, right?

---

_[View the full topic](https://meta.discourse.org/t/discourse-development-failed-to-register-update-a-serviceworker/89055)._
