I get this error

PS C:\Users\Ahmet\Desktop\bot> pnpm install discord.js pnpm : The term 'pnpm' is not recognized as the name of a cmdlet, function, script file, or operab le program. Check the spelling of the name, or if a path was included, verify that the path is cor rect and try again. At line:1 char:1 + pnpm install discord.js + ~~~~ + CategoryInfo : ObjectNotFound: (pnpm:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
8 Replies
d.js toolkit
d.js toolkit2y 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.
!            NebulaNomad !
! NebulaNomad !OP2y ago
PS C:\Users\Ahmet\Desktop\bot> node bot.js PS C:\Users\Ahmet\Desktop\bot> and not responding ps
Squid
Squid2y ago
it's node package manager: no "p" at the start
chewie
chewie2y ago
pnpm exists too, if installed ramenCat
!            NebulaNomad !
! NebulaNomad !OP2y ago
Error: Cannot find module 'C:\Users\Ahmet\Desktop\bot\bo.js' at Module._resolveFilename (node:internal/modules/cjs/loader:1075:15) at Module._load (node:internal/modules/cjs/loader:920:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) at node:internal/main/run_main_module:23:47 { code: 'MODULE_NOT_FOUND', requireStack: [] @Squid
chewie
chewie2y ago
did you misspell bot? kekw #rules 6 there is no file called "bo.js"
!            NebulaNomad !
! NebulaNomad !OP2y ago
but it doesn't work
chewie
chewie2y ago
You are missing a lot of required JS knowledge. Please brush up on your JS knowledge before you continue. #rules 2 #resources #useful-servers
Want results from more Discord servers?
Add your server