discord.js bot help

so I am trying to use this bot for my own personal use. the original owner has gave me permission to fork the bot obviously. I have proof of that too. but I cant seem to start up the bot. can someone go over the steps with me, or I can even screenshare. idk what version the js is so imma just put v14.11.0
13 Replies
d.js toolkit
d.js toolkit•17mo 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.
yorainz💕
yorainz💕OP•17mo ago
node version 18.12.0 and discord.js 14.11.0 Error: Cannot find module './services/matchmakingService' Require stack: - C:\Users\andri\Downloads\pso-matchmaker-main\pso-matchmaker-main\build\bot\src\bot.js - C:\Users\andri\Downloads\pso-matchmaker-main\pso-matchmaker-main\index.js at Module._resolveFilename (node:internal/modules/cjs/loader:995:15) at Module._load (node:internal/modules/cjs/loader:841:27) at Module.require (node:internal/modules/cjs/loader:1061:19) at require (node:internal/modules/cjs/helpers:103:18) at Object.<anonymous> (C:\Users\andri\Downloads\pso-matchmaker-main\pso-matchmaker-main\build\bot\src\bot.js:10:30) at Module._compile (node:internal/modules/cjs/loader:1159:14) at Module._extensions..js (node:internal/modules/cjs/loader:1213:10) at Module.load (node:internal/modules/cjs/loader:1037:32) at Module._load (node:internal/modules/cjs/loader:878:12) at Module.require (node:internal/modules/cjs/loader:1061:19) { code: 'MODULE_NOT_FOUND', requireStack: [ 'C:\Users\andri\Downloads\pso-matchmaker-main\pso-matchmaker-main\build\bot\src\bot.js', 'C:\Users\andri\Downloads\pso-matchmaker-main\pso-matchmaker-main\index.js' ] } Node.js v18.12.0 npm notice npm notice New major version of npm available! 8.19.2 -> 9.8.0 npm notice Changelog: https://github.com/npm/cli/releases/tag/v9.8.0 npm notice Run npm install -g [email protected] to update! npm notice i have no clue what my issue is i start the command and it just brigns this up ping me when you can assist me,ill be around
treble/luna
treble/luna•17mo ago
first one is because you dont have a file called 'matchmakingService', or in the wrong directory 2nd is just an npm update which is not djs related
yorainz💕
yorainz💕OP•17mo ago
which directory should it be in
treble/luna
treble/luna•17mo ago
services but wherever you want it to be really just edit the path
yorainz💕
yorainz💕OP•17mo ago
its already in services
treble/luna
treble/luna•17mo ago
then make sure the path is correct
yorainz💕
yorainz💕OP•17mo ago
it is
treble/luna
treble/luna•17mo ago
according to your error it isnt, and this isnt djs related anymore at this point
yorainz💕
yorainz💕OP•17mo ago
well ive tried to reach out to him he linked his discord but he hasnt answered my friend request or answered my dm's its been around a month now too a friend just recommended me to yall for help
treble/luna
treble/luna•17mo ago
just triple check your files, according to your logic, and as far as i can see it should be in either src/services or pso-matchmaker-main/services
yorainz💕
yorainz💕OP•17mo ago
i think thats kinda my question because ive tried dming him but he wont respond so i tried myself
JemMa
JemMa•17mo ago
why did u help her and not me? is this some kind of discrimination no thanks u guys should apologise to me duh
Want results from more Discord servers?
Add your server