Components V2 Error

When trying to use my Setup command, it keeps throwing this error:
CombinedError (2)
Received one or more errors

1 ExpectedValidationError > s.instance(V)
| Expected
|
| Expected:
| | [Function: ButtonBuilder]
|
| Received:
| | undefined

2 ExpectedValidationError > s.instance(V)
| Expected
|
| Expected:
| | [Function: ThumbnailBuilder]
|
| Received:
| | undefined
CombinedError (2)
Received one or more errors

1 ExpectedValidationError > s.instance(V)
| Expected
|
| Expected:
| | [Function: ButtonBuilder]
|
| Received:
| | undefined

2 ExpectedValidationError > s.instance(V)
| Expected
|
| Expected:
| | [Function: ThumbnailBuilder]
|
| Received:
| | undefined
However, I don't see anywhere, where I need to validate either a ButtonBuilder or ThumbnailBuilder
8 Replies
d.js toolkit
d.js toolkit6mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button! - Marked as resolved by OP
Jamie
JamieOP6mo ago
My version of discordjs is 14.19.3
Samtino
Samtino6mo ago
You have a Section component without a Thumbnail or Button Instead of using a Section, just pass the TextDisplay directly
Jamie
JamieOP6mo ago
Ahhh! I see. That makes more sense. The section component must have a button or thumbnail?
Samtino
Samtino6mo ago
Yes
Jamie
JamieOP6mo ago
I see, thanks for ya help :3
Samtino
Samtino6mo ago
Ofc

Did you find this page helpful?