# Intermittent Parse Error on Plugin Rebuild

**URL:** <https://meta.discourse.org/t/intermittent-parse-error-on-plugin-rebuild/151727>\
**Category:** Development\
**Created:** [17 במאי,‏ 2020,‏ 1:25am UTC](https://meta.discourse.org/t/intermittent-parse-error-on-plugin-rebuild/151727 "2020-05-17T01:25:44Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Ghan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ghan/32/177964_2.png) [@Ghan](https://meta.discourse.org/u/Ghan)\
**Post date:** [17 במאי,‏ 2020,‏ 1:25am UTC](https://meta.discourse.org/t/intermittent-parse-error-on-plugin-rebuild/151727/1 "2020-05-17T01:25:44Z")

</div>

In working on a bbcode plugin, we’re seeing an error appear related to one of the JS files we’ve added. This error only appears when updating the plugin or rebuilding the container, but does not occur every time. If I update the plugin via the admin UI and it fails, re-running the same upgrade again without making any changes will then succeed.

Any ideas what is going on here?

 ![WindowsTerminal_ija22ioP8D](https://global.discourse-cdn.com/meta/original/3X/7/7/77a4f508475ce8d3864cd40cb510017ca3db8278.png)

---

_[View the full topic](https://meta.discourse.org/t/intermittent-parse-error-on-plugin-rebuild/151727)._
