Answer the question
In order to leave comments, you need to log in
Faced with the problem of loading the discord library in visual code?
I installed Node.js on my laptop.
Created a folder, registered `npm init` in PowerShell. The installation was successful.
In Visual Studio Code, I wrote npm i discord.js in the terminal. Instead of downloading, an error occurred:
npm : The name 'npm' is not recognized as the name of a cmdlet, function, script file, or executable
program. Check the spelling of the name and the presence and correctness of the path,
then try again.
line:1 character:1
+ npm discord.js
+ ~~~
+ CategoryInfo : ObjectNotFound: (npm:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
What does the error mean and how to solve it. (User does not have administrator rights)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question