I have a problem that is really not for this forum but since this is the only forum that I know which has scripters and programmers (or even teachers) in it I’d ask my question.
I wanted to create a Discord bot using javascript and I need to download several additional files to make it work properly:
- Visual Studio Code - a place where to compile my code and script the bot.
- Node.js - an additional expansion to make Visual Studio Code compatible with compiling .js files.
- npm install discord.js - I don’t know what that is but the guy who started tutorialing me told me to install this thing via command prompt.
- Other additional files that he showed me in this image:
So when I started installing 3. then command prompt replied:
C:\Users\tomi\Desktop\Visual Studio Modules>npm install discord.js 'npm' is not recognized as an internal or external command, operable program or batch file.
(this is the directory to my Desktop folder as the tutor said that I can put the items above anywhere I want)
I need someone to help me with this thing because if I can’t get it fixed then I can’t make the Discord bot that I want to create. (this is why I create that topic)
One of the reasons of why would this happen can be found in Control Panel -> Programs -> Enable and disable Windows components.
I had already enabled Windows PowerShell 2.0 but I haven’t enabled System Windows PowerShell 2.0 and when I enabled it that still DIDN’T fix my problem. I’m caugh in trouble with this thing so please help me fix it!