#Help
61 messages · Page 1 of 1 (latest)
• 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.
?
dude run npm i discord.js in your terminal
We dont do DM support, you can use this thread
ok
If you have problems installing, explain your problem
ill explain from the beginning do you have windows os?
ok so we can skip installing windows step
You shouldnt need to be explaining basic Node application setup to people, there are hundreds of guides including our own
now right click on your desktop and move your cursor on New and click Folder
after you create the folder you need to open cmd you can use the windows cmd or you can install custom cmd like cmder
alr got it open
and then navigate to the folder you created with cd command
yup
now in the cmd run npm init -y command
create index.js or index.ts file and install discord.js with npm i discord.js command
alr
yes
that's wher ei get my problems
'npm' is not recognized as an internal or external command,
operable program or batch file.
that's what it says
i forget about that step
oh
you need to go to https://nodejs.org/ and install the recommended for most users version
so not the latest?
16.16.0
now you can use the npm command
omg it worked!
thank u so much u were so helpful!!
now can I code in js?
on vsc
yes
alr thank u
https://discordjs.guide/ theres guide
no
no
aight thank uuuu
you can do everything in one file but its not cool