Search
Star
Feedback
Setup for Free
Ā© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
TypeError Class constructor _SapphireClient cannot be invoked without 'new' - Sapphire - Imagine a Framework
S-IaF
Sapphire - Imagine a Framework
ā¢
4y ago
ā¢
4 replies
Tedz
TypeError Class constructor _SapphireClient cannot be invoked without 'new'
This is happening when I extend SapphireClient
. Using Typescript
.
Solution
This means your
target
target
wasn
't set so it defaults to ES3 which is ancient JS that isn
't supported and doesn
't supported classes
Jump to solution
Sapphire - Imagine a Framework
Join
Sapphire is a next-gen object-oriented Discord.js bot framework.
2,261
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Class constructor _Listener cannot be invoked without 'new'
S-IaF
Sapphire - Imagine a Framework / sapphire-support
3y ago
fetchPrefix method on SapphireClient class
S-IaF
Sapphire - Imagine a Framework / sapphire-support
3y ago
TypeError: Class extends value undefined is not a constructor or null
S-IaF
Sapphire - Imagine a Framework / sapphire-support
3y ago
Problem with extended SapphireClient
S-IaF
Sapphire - Imagine a Framework / sapphire-support
2y ago