npm - 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
解决方案
我遇到了同样的问题,但作为解决方案,尝试以管理员身份在 cmd 中运行所有 npm 命令,就可以了。
推荐阅读
- security - 使用 AspNetUserTokens 表在 ASP.NET Core Web Api 中存储刷新令牌
- python - 如何从列表中删除所有符合特定格式的字符串?
- web-config -
不工作? - linq - LINQ 使用多对多关系聚合结果
- google-chrome - 在扩展加载而不是页面加载时运行 contentscript
- ruby-on-rails - 子对象无法在 before_destroy 回调中删除父对象
- ios - Xcode 10.1 无法找到或创建 iOS 模拟器
- c# - NU1107 在单元测试项目中检测到版本冲突
- java - 将 lambda 表达式转换为 JAVA 7
- if-statement - 如果条件到 Jenkinsfile 中的文件夹分支