Skip to content

Installing and activating the plugin breaks the server, "Uncaught TypeError: A.registerCodeBlockComponent is not a function" #3

Description

@a3nm

Hi, I'm trying to install the LaTeX plugin, specifically https://github.com/kosgrz/mattermost-plugin-latex/releases/download/v0.0.2/com.mattermost.latex-plugin-0.0.2.tar.gz

Once uploaded and enabled, the Mattermost server no longer works (nothing appears when loading a page). The Javascript console indicates the following error:

Uncaught TypeError: A.registerCodeBlockComponent is not a function
    at A.value (com.mattermost.latex…9ab15e5_bundle.js:1)
    at index.js:128
    at HTMLScriptElement.i.onload (index.js:92)

in /static/plugins/com.mattermost.latex-plugin/com.mattermost.latex-plugin_fc4c86ab99ab15e5_bundle.js

[To repair this, the plugin needs to be removed with the command line interface (./bin/mattermost plugin disable com.mattermost.latex-plugin && ./bin/mattermost plugin delete com.mattermost.latex-plugin && service mattermost restart.]

This is Mattermost Enterprise Edition, version 5.21.0. Any idea of how this could be fixed? Many thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions