@defild

Ввел npm init -y в VS code и выдало такую ошибку что делать?

Это в 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
Это в cmd
\Desktop\Trade bot>npm init -y
'npm' is not recognized as an internal or external command,
operable program or batch file.
  • Вопрос задан
  • 3503 просмотра
Пригласить эксперта
Ответы на вопрос 2
@Corvuss
Node.js установить надо. https://nodejs.org/en/download/
Ответ написан
@alexbprofit
Junior SE
У вас Node.js не добавлен в PATH
Ответ написан
Комментировать
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы