MessageActionRow is not a constructor

Started refreshing application (/) commands. Successfully reloaded application (/) commands. Logged in as ɢ-ᴏᴋɪ#5601 Error: TypeError: MessageActionRow is not a constructor at Object.execute (/home/runner/SugaryShadyUpgrades/commands/g-begin.js:46:19) at Client.<anonymous> (/home/runner/SugaryShadyUpgrades/index.js:60:19) at Client.emit (node:events:511:28) at InteractionCreateAction.handle (/home/runner/SugaryShadyUpgrades/node_modules/discord.js/src/client/actions/InteractionCreate.js:97:12) at module.exports [as INTERACTION_CREATE] (/home/runner/SugaryShadyUpgrades/node_modules/discord.js/src/client/websocket/handlers/INTERACTION_CREATE.js:4:36) at WebSocketManager.handlePacket (/home/runner/SugaryShadyUpgrades/node_modules/discord.js/src/client/websocket/WebSocketManager.js:355:31) at WebSocketManager.<anonymous> (/home/runner/SugaryShadyUpgrades/node_modules/discord.js/src/client/websocket/WebSocketManager.js:239:12) at WebSocketManager.emit (/home/runner/SugaryShadyUpgrades/node_modules/@vladfrangu/async_event_emitter/dist/index.js:282:31) at WebSocketShard.<anonymous> (/home/runner/SugaryShadyUpgrades/node_modules/@discordjs/ws/dist/index.js:1173:51) at WebSocketShard.emit (/home/runner/SugaryShadyUpgrades/node_modules/@vladfrangu/async_event_emitter/dist/index.js:282:31)
17 Replies
d.js toolkit
d.js toolkit12mo 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 staff
d.js docs
d.js docs12mo ago
Version 14 has released! Please update at your earliest convenience. - Update: npm rm discord.js npm i discord.js - Update guide (use CTRL + F to search for the old method or property)
CoDZeLLa
CoDZeLLaOP12mo ago
looK ~/SugaryShadyUpgrades$ npm rm discord.js removed 8 packages, and audited 30 packages in 5s 3 packages are looking for funding run npm fund for details found 0 vulnerabilities ~/SugaryShadyUpgrades$ npm i discord.js added 8 packages, and audited 38 packages in 7s 3 packages are looking for funding run npm fund for details found 0 vulnerabilities npm notice npm notice New major version of npm available! 9.6.7 -> 10.2.5 npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.2.5 npm notice Run npm install -g [email protected] to update! npm notice ~/SugaryShadyUpgrades$
GitHub
Release v10.2.5 · npm/cli
10.2.5 (2023-12-06) Bug Fixes c7a592c #7061 dont use cache for update notifier manifest request (@lukekarrys) 7b952f6 #7049 unpublish: bubble up all errors parsing local package.json (#7049) (@wra...
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
CoDZeLLa
CoDZeLLaOP12mo ago
i can invite you to help
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
CoDZeLLa
CoDZeLLaOP12mo ago
replit
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
CoDZeLLa
CoDZeLLaOP12mo ago
Ok { "name": "nodejs", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "test": "echo "Error: no test specified" && exit 1" }, "keywords": [], "author": "", "license": "ISC", "dependencies": { "@discordjs/builders": "^1.7.0", "@discordjs/rest": "^2.2.0", "@types/node": "^18.0.6", "discord-api-types": "^0.37.65", "discord.js": "^14.14.1", "ms": "^2.1.3", "node-fetch": "^3.2.6" } } Same error
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
CoDZeLLa
CoDZeLLaOP12mo ago
Started refreshing application (/) commands. Successfully reloaded application (/) commands. Logged in as ɢ-ᴏᴋɪ#5601 Error: TypeError: MessageActionRow is not a constructor at Object.execute (/home/runner/SugaryShadyUpgrades/commands/g-begin.js:44:19) at Client.<anonymous> (/home/runner/SugaryShadyUpgrades/index.js:60:19) at Client.emit (node:events:511:28) at InteractionCreateAction.handle (/home/runner/SugaryShadyUpgrades/node_modules/discord.js/src/client/actions/InteractionCreate.js:97:12) at module.exports [as INTERACTION_CREATE] (/home/runner/SugaryShadyUpgrades/node_modules/discord.js/src/client/websocket/handlers/INTERACTION_CREATE.js:4:36) at WebSocketManager.handlePacket (/home/runner/SugaryShadyUpgrades/node_modules/discord.js/src/client/websocket/WebSocketManager.js:355:31) at WebSocketManager.<anonymous> (/home/runner/SugaryShadyUpgrades/node_modules/discord.js/src/client/websocket/WebSocketManager.js:239:12) at WebSocketManager.emit (/home/runner/SugaryShadyUpgrades/node_modules/@vladfrangu/async_event_emitter/dist/index.js:282:31) at WebSocketShard.<anonymous> (/home/runner/SugaryShadyUpgrades/node_modules/@discordjs/ws/dist/index.js:1173:51) at WebSocketShard.emit (/home/runner/SugaryShadyUpgrades/node_modules/@vladfrangu/async_event_emitter/dist/index.js:282:31)
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
CoDZeLLa
CoDZeLLaOP12mo ago
i will send my code
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
CoDZeLLa
CoDZeLLaOP12mo ago
i readed
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
d.js docs
d.js docs12mo ago
Suggestion for @CoDZeLLa:guide Additional Information: Updating from v13 to v14 - Breaking Changes > Builders read more
Want results from more Discord servers?
Add your server