blueridger / sc-address-bot

2 stars 5 forks source link

Error: Cannot find module './_interactions/applicationCommands' #2

Open nya-elimu opened 2 years ago

nya-elimu commented 2 years ago

I get this error message when pressing the "▶ Run" button at https://replit.com/@elimuai/web3-sc-address-bot#.replit


> discord-cred-voting-bot@1.0.0 start
> node ./createCommands.js && node ./startClient.js

Hello from Node.js v16.7.0!
node:internal/modules/cjs/loader:936
  throw err;
  ^

Error: Cannot find module './_interactions/applicationCommands'
Require stack:
- /home/runner/web3-sc-address-bot/node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/interactions.js
- /home/runner/web3-sc-address-bot/node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/index.js
- /home/runner/web3-sc-address-bot/node_modules/@discordjs/builders/node_modules/discord-api-types/v9.js
- /home/runner/web3-sc-address-bot/node_modules/@discordjs/builders/dist/index.js
- /home/runner/web3-sc-address-bot/createCommands.js
Screen Shot 2022-05-14 at 1 17 41 PM
blueridger commented 2 years ago

Try changing @discord-js/builders to 0.6.0 in package.json, lemme know if that works.