Skip to content
This repository was archived by the owner on Jan 14, 2026. It is now read-only.
This repository was archived by the owner on Jan 14, 2026. It is now read-only.

[Issue] AccountSwitcher could not be compiled #84

@LesCyclopes

Description

@LesCyclopes

Describe the bug
AccountSwitcher could not be compiled. The AccountSwitcher.plugin.js file is in my plugins folder and my other plugins work fine.

To Reproduce
Steps to reproduce the behavior:

  1. Move AccountSwitcher.plugin.js into plugins folder
  2. Start discord and get an error
  3. Restart discord and get the same error

Screenshots
Screenshot from 2024-02-20 13-02-55

Information (please complete the following information):

  • OS: [e.g. Linux Mint 21.2]
  • Plugin Version: [1.9.7]
  • Discord version: [Stable]
  • Compact Mode enabled? [no]

Here is the error message again:

TypeError: Class extends value undefined is not a constructor or null
at plugin (betterdiscord://plugins/AccountSwitcher.plugin.js:120:65)
at eval (betterdiscord://plugins/AccountSwitcher.plugin.js:580:10)
at eval (betterdiscord://plugins/AccountSwitcher.plugin.js:581:4)
at eval (betterdiscord://plugins/AccountSwitcher.plugin.js:582:3)
at A.requireAddon (betterdiscord/renderer.js:5:33832)
at A.loadAddon (betterdiscord/renderer.js:5:6386)
at A.loadAddon (betterdiscord/renderer.js:5:31500)
at A.loadAllAddons (betterdiscord/renderer.js:5:8878)
at A.initialize (betterdiscord/renderer.js:5:3258)
at A.initialize (betterdiscord/renderer.js:5:30699)
at Object.startup (betterdiscord/renderer.js:5:369099)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions