当前位置:网站首页>The item 'node.exe' was not recognized as the name of a cmdlet, function, script file, or runnable program.
The item 'node.exe' was not recognized as the name of a cmdlet, function, script file, or runnable program.
2022-07-31 11:16:00 【m0_67402013】
NodeJS configuration related issues
Error
1. The item "node.exe" is not recognized as the name of a cmdlet, function, script file, or runnable program.
2. Enter node -v in the terminal, and issue a prompt: nodejs is not an internal or external command solution in cmd prompt
3. Enter npm -v in terminal, issue a prompt: npm prompt in cmd is not an internal or external command solution
4. I confirm that nodejs is installed.
reason
1. Most of the path configuration problems are wrong, you can try to modify the path configuration.
2. If the configuration is changed, an error is still reported in vscode:
"The item 'node.exe' cannot be recognized as a cmdlet..." You can try restarting VScode, or open a terminal on the basis of the original terminal and retypeOrder.
3. Because I modified the path of the global configuration, the configuration path according to the online tutorial is wrong, a bloody 555, please pay attention to whether your system variables are where node.exe and npm.cmd are locatedpath.
Path Configuration
1. Open the search panel control.
2.
System Properties->Advanced->Environment variables
3. User variables->path,Change the original setting to: "D: own path ode_global", copy the directory where your own node_global global file is located.
4. System variable->path, note that the path here is the path where your node.exe and npm.cmd are located, don't change it
Let me introduce myself first. The editor graduated from Shanghai Jiaotong University in 2013. I worked in a small company and went to big factories such as Huawei and OPPO. I joined Alibaba in 2018, until now.I know that most junior and intermediate java engineers want to upgrade their skills, they often need to explore their own growth or sign up to study, but for training institutions, the tuition fee is nearly 10,000 yuan, which is really stressful.Self-learning that is not systematic is very inefficient and lengthy, and it is easy to hit the ceiling and the technology stops.Therefore, I collected a "full set of learning materials for java development" for everyone. The original intention is also very simple. I hope to help friends who want to learn by themselves but don't know where to start, and at the same time reduce everyone's burden.Add the business card below to get a full set of learning materials
边栏推荐
猜你喜欢
【云原生监控系列第一篇】一文详解Prometheus普罗米修斯监控系统(山前前后各有风景,有风无风都很自由)
《云原生的本手、妙手和俗手》——2022全国新高考I卷作文
Redis缓存面临的缓存雪崩问题
MySQL 行级锁(行锁、临键锁、间隙锁)
Summary of three methods for SQL deduplication
[Virtualization Ecological Platform] Platform Architecture Diagram & Ideas and Implementation Details
Cloudera Manager —— 端到端的企业数据中心管理工具
【软件工程之美 - 专栏笔记】33 | 测试工具:为什么不应该通过QQ/微信/邮件报Bug?
面试、工作中常用sql大全(建议收藏备用)
[Virtualization ecological platform] Raspberry Pi installation virtualization platform operation process
随机推荐
Experience innovation and iteration through the development of a lucky draw applet
【软件工程之美 - 专栏笔记】33 | 测试工具:为什么不应该通过QQ/微信/邮件报Bug?
【Web技术】1397- 深入浅出富文本编辑器
Distributed Transactions - Introduction to Distributed Transactions, Distributed Transaction Framework Seata (AT Mode, Tcc Mode, Tcc Vs AT), Distributed Transactions - MQ
Redis-基础
deeplab实现自己遥感地质分割数据集
【虚拟化生态平台】树莓派安装虚拟化平台操作流程
Docker搭建Mysql主从复制
《JUC并发编程 - 高级篇》06 - 共享模型之不可变(不可变类的设计 | 不可变类的使用 | 享元模式)
SQL力扣刷题七
掌握SSR
《云原生的本手、妙手和俗手》——2022全国新高考I卷作文
一、excel转pdf格式jacob.jar
Implement the popup component
【虚拟化生态平台】平台架构图&思路和实现细节
Docker安装canal、mysql进行简单测试与实现redis和mysql缓存一致性
SQL力扣刷题五
5 个开源的 Rust Web 开发框架,你选择哪个?
结构化查询语言SQL-关系数据库标准语言
Android studio连接MySQL并完成简单的登录注册功能