首页 > 解决方案 > i have problem in VS code terminal to run npm command

问题描述

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.

there is a error

标签: npmvisual-studio-codenpm-install

解决方案


我遇到了同样的问题,但作为解决方案,尝试以管理员身份在 cmd 中运行所有 npm 命令,就可以了。


推荐阅读