Styleguide plugin prevents login

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 :frowning:

Screenshot:

List of my current plugins:

        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

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

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.

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

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.

5 Likes