I'm getting `TypeError: ActionRowBuilder is not a constructor`

I am importing it correctly like so
const {
Client,
ActionRowBuilder,
ButtonBuilder,
EmbedBuilder,
ModalBuilder,
TextInputBuilder,
TextInputStyle,
ButtonStyle
} = require("discord.js");
const {
Client,
ActionRowBuilder,
ButtonBuilder,
EmbedBuilder,
ModalBuilder,
TextInputBuilder,
TextInputStyle,
ButtonStyle
} = require("discord.js");
4 Replies
d.js toolkit
d.js toolkitβ€’3y ago
β€’ What's your exact discord.js npm list discord.js and node node -v version? β€’ Post the full error stack trace, not just the top part! β€’ Show your code! β€’ Explain what exactly your issue is. β€’ Not a discord.js issue? Check out #useful-servers.
Chriss Quartz
Chriss QuartzOPβ€’3y ago
Discord.JS Version
β”œβ”€β”€ discord.js@14.11.0
└─┬ dkrcommands@1.0.0-beta.4
└── discord.js@14.11.0 deduped
β”œβ”€β”€ discord.js@14.11.0
└─┬ dkrcommands@1.0.0-beta.4
└── discord.js@14.11.0 deduped
Node.JS Version
v18.15.0
v18.15.0
I have some buttons setup and when I click them they are supposed to send an embed with more buttons attached to the embed message
Unknown User
Unknown Userβ€’3y ago
Message Not Public
Sign In & Join Server To View
Chriss Quartz
Chriss QuartzOPβ€’3y ago
It’s the command & event handler I use I’m not home atm so I’ll see what happens and report back Didn't seem to work

Did you find this page helpful?