Zer0-1ne
Zer0-1ne
SIASapphire - Imagine a framework
Created by Zer0-1ne on 5/2/2024 in #sapphire-support
Error importing a plugin
❤️ thank you
6 replies
SIASapphire - Imagine a framework
Created by Zer0-1ne on 5/2/2024 in #sapphire-support
Error importing a plugin
Here is my error
PS E:\Code\PSG\PSG-Elf-Master\PSG-Elf-Master> node src/index.js
Express listening on port 3000
Error when loading 'E:\Code\PSG\PSG-Elf-Master\PSG-Elf-Master\src\commands\DDoSAttackCounter.js': Error [EMPTY_MODULE]: A compatible class export was not found. [E:\Code\PSG\PSG-Elf-Master\PSG-Elf-Master\src\commands\DDoSAttackCounter.js]
at _LoaderStrategy.load (E:\Code\PSG\PSG-Elf-Master\PSG-Elf-Master\node_modules\@sapphire\pieces\dist\cjs\lib\strategies\LoaderStrategy.cjs:78:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async _CommandStore.loadPath (E:\Code\PSG\PSG-Elf-Master\PSG-Elf-Master\node_modules\@sapphire\pieces\dist\cjs\lib\structures\Store.cjs:299:26)
ire\framework\dist\cjs\lib\structures\CommandStore.cjs:42:5)
at async Promise.all (index 1)
at async _SapphireClient.login (E:\Code\PSG\PSG-Elf-Master\PSG-Elf-Master\node_modules\@sapphire\framework\dist\cjs\lib\SapphireClient.cjs:82:5) {
type: 'EMPTY_MODULE',
path: 'E:\\Code\\PSG\\PSG-Elf-Master\\PSG-Elf-Master\\src\\commands\\DDoSAttackCounter.js'
}
Logged In
[INFO] ApplicationCommandRegistries: Initializing...
[INFO] ApplicationCommandRegistries: Took 0ms to initialize.
PS E:\Code\PSG\PSG-Elf-Master\PSG-Elf-Master> node src/index.js
Express listening on port 3000
Error when loading 'E:\Code\PSG\PSG-Elf-Master\PSG-Elf-Master\src\commands\DDoSAttackCounter.js': Error [EMPTY_MODULE]: A compatible class export was not found. [E:\Code\PSG\PSG-Elf-Master\PSG-Elf-Master\src\commands\DDoSAttackCounter.js]
at _LoaderStrategy.load (E:\Code\PSG\PSG-Elf-Master\PSG-Elf-Master\node_modules\@sapphire\pieces\dist\cjs\lib\strategies\LoaderStrategy.cjs:78:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async _CommandStore.loadPath (E:\Code\PSG\PSG-Elf-Master\PSG-Elf-Master\node_modules\@sapphire\pieces\dist\cjs\lib\structures\Store.cjs:299:26)
ire\framework\dist\cjs\lib\structures\CommandStore.cjs:42:5)
at async Promise.all (index 1)
at async _SapphireClient.login (E:\Code\PSG\PSG-Elf-Master\PSG-Elf-Master\node_modules\@sapphire\framework\dist\cjs\lib\SapphireClient.cjs:82:5) {
type: 'EMPTY_MODULE',
path: 'E:\\Code\\PSG\\PSG-Elf-Master\\PSG-Elf-Master\\src\\commands\\DDoSAttackCounter.js'
}
Logged In
[INFO] ApplicationCommandRegistries: Initializing...
[INFO] ApplicationCommandRegistries: Took 0ms to initialize.
6 replies