aarondoet / AccountSwitcher

BetterDiscord plugin to switch between multiple accounts
MIT License
229 stars 78 forks source link

[Issue] AccountSwitcher could not be compiled #84

Open LesCyclopes opened 8 months ago

LesCyclopes commented 8 months ago

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

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)