#discord.js bot help
39 messages · Page 1 of 1 (latest)
- What's your exact discord.js
npm list discord.jsand nodenode -vversion? - 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.
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
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
which directory should it be in
its already in services
then make sure the path is correct
it is
according to your error it isnt, and this isnt djs related anymore at this point
Why don’t you ask the owner of the OG code? We aren’t third party support
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
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
Then how did you get permission to fork the GitHub etc.?
or is it just under a license that allows that?
Ah, it’s under GPL and states permission to fork explicitly. Did you run the build script correctly and then start?
i think
thats kinda my question
because ive tried dming him
but he wont respond
so i tried myself
And did you run the build script or not?
why did u help her and not me? is this some kind of discrimination
Wtf? Nobody’s entitled to help by anyone. And now think about what you say next. Better be an apology instead of entitled behavior.
no thanks
u guys should apologise to me