# Styleguide plugin prevents login

**URL:** https://meta.discourse.org/t/styleguide-plugin-prevents-login/67866
**Category:** Bug
**Created:** [August 11, 2017, 12:55pm UTC](https://meta.discourse.org/t/styleguide-plugin-prevents-login/67866 "2017-08-11T12:55:57Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Bas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bas/32/294929_2.png) [@Bas](https://meta.discourse.org/u/Bas)
#### Post date: [August 11, 2017, 12:55pm UTC](https://meta.discourse.org/t/styleguide-plugin-prevents-login/67866/1 "2017-08-11T12:55:57Z")

</div>

After installing an unrelated plugin and rebuilding, the Discourse login page completely broke (i.e. blank page).

This was caused by a javascript error in `_plugin-third-pary-(...).js`, see screenshot below.

The offending line was in `styleguide-route-map`; disabling the styleguide plugin `fixed` the error.

That’s all I have, wish I could be of more help ☹

Screenshot:

 ![17](https://global.discourse-cdn.com/meta/original/3X/7/8/78a92519d3e67dfb4a792026fe8e8468753e12b6.png)

List of my current plugins:

```bash
        cmd:
          - mkdir -p plugins
          - git clone https://github.com/discourse/docker_manager.git
          - git clone https://github.com/vinkas0/discourse-navigation.git
          - git clone https://github.com/vinkas0/discourse-branding.git
          - git clone https://github.com/discourse/discourse-solved.git
          - git clone https://github.com/discourse/discourse-data-explorer.git
# - git clone https://github.com/discourse/discourse-styleguide.git
          - git clone https://github.com/pmusaraj/discourse-sidebar-blocks.git
          - git clone https://github.com/discourse/discourse-staff-notes.git
# - git clone https://github.com/scossar/discourse-blog-post.git
          - git clone https://github.com/binaryage/discourse-hipchat-plugin.git
# - git clone https://github.com/mlamarque/algoliasearch-discourse.git

```

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [August 11, 2017, 1:05pm UTC](https://meta.discourse.org/t/styleguide-plugin-prevents-login/67866/2 "2017-08-11T13:05:56Z")

</div>

Are you on Discourse master ? I can’t reproduce at the moment.

---

<div class="post-metadata">

### Author: ![Bas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bas/32/294929_2.png) [@Bas](https://meta.discourse.org/u/Bas)
#### Post date: [August 11, 2017, 1:08pm UTC](https://meta.discourse.org/t/styleguide-plugin-prevents-login/67866/3 "2017-08-11T13:08:12Z")

</div>

Yeah, Digital Ocean oneclick of two weeks ago; no modifications except in app.yml.

Mind you, the styleguide plugin worked fine for a few days. This is a bit of a heisenbug I’m afraid.

---

<div class="post-metadata">

### Author: ![Bas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bas/32/294929_2.png) [@Bas](https://meta.discourse.org/u/Bas)
#### Post date: [August 11, 2017, 1:39pm UTC](https://meta.discourse.org/t/styleguide-plugin-prevents-login/67866/4 "2017-08-11T13:39:16Z")

</div>

I’m fine with / completely understand this not being fixed, I just wanted to report so you guys know that “something” is up.

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [August 11, 2017, 9:31pm UTC](https://meta.discourse.org/t/styleguide-plugin-prevents-login/67866/5 "2017-08-11T21:31:38Z")

</div>

I’ve been actively developing that plugin and I suspect you checked it out at a bad time.  
Make sure you are using the latest master of discourse and of the discourse-styleguide and it should work.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [August 12, 2017, 1:28am UTC](https://meta.discourse.org/t/styleguide-plugin-prevents-login/67866/6 "2017-08-12T01:28:28Z")

</div>


