npm install discord.js

I am trying to install the discord.js but when i run that in visual it tells me

npm : The term 'npm' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path
was included, verify that the path is correct and try again.
At line:1 char:1
  • npm i discord.js
  • ~~~
    • CategoryInfo : ObjectNotFound: (npm:String) [], CommandNotFoundException
    • FullyQualifiedErrorId : CommandNotFoundException
Was this page helpful?