Answer the question
In order to leave comments, you need to log in
I entered npm init -y in VS code and gave such an error, what should I do?
It's in PowerShell
\Desktop\Trade bot> npm init -y
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 init -y
+ ~~~
+ CategoryInfo : ObjectNotFound: (npm:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
This is in cmd
\Desktop\Trade bot>npm init -y
'npm' is not recognized as an internal or external command,
operable program or batch file.
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