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:
Move AccountSwitcher.plugin.js into plugins folder
Start discord and get an error
Restart discord and get the same error
Screenshots
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)
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:
Screenshots
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)