当前位置:网站首页>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
边栏推荐
- 7 天能找到 Go 工作吗?学学 Go 数组和指针试试
- Implement the popup component
- 3.网页信息解析方法:Xpath与BeautifulSoup
- keras自带数据集(横线生成器)
- 台达PLC出现通信错误或通信超时或下载时提示机种不符的解决办法总结
- St. Regis Takeaway Project: New dishes and dishes paged query
- How SQL intercepts specified characters from strings (three functions of LEFT, MID, RIGHT)
- oracle优化:instr做join条件很慢「建议收藏」
- SQL——左连接(Left join)、右连接(Right join)、内连接(Inner join)
- unity computeshader的可读写buffer
猜你喜欢

Master SSR

【虚拟化生态平台】平台架构图&思路和实现细节

LeetCode 1161.最大层内元素和:层序遍历

下课看着文档走回实验室,我重新拾起了遗忘的SQL运算符

Redis缓冲穿透和缓冲击穿工具类的封装

分布式id解决方案

使用内存映射加快PyTorch数据集的读取

Single sign-on principle and implementation

In PLC communication error or timeout or download the prompt solution of the model

Summary of three methods for SQL deduplication
随机推荐
Master SSR
力扣shell刷题
MySQL row-level locks (row locks, adjacent key locks, gap locks)
Sql optimization summary!detailed!(Required for the latest interview in 2021)
mysql automatically adds creation time and update time
Inversion problem - key point
[Go Affair] See through Go's collections and slices at a glance
lotus-local-net 2k v1.17.0-rc4
ApiPost is really fragrant and powerful, it's time to throw away Postman and Swagger
Insertion and deletion of doubly linked list
What does "chmod 777-R filename" mean?
拥抱趋势!阿里这套微服务开源框架权威手册,实战到底层细致清晰
应用层基础 —— 认识URL
面试、工作中常用sql大全(建议收藏备用)
一文带你了解redux的工作流程——actionreducerstore
Make your own dataset in FCN and train it
Redis缓冲穿透和缓冲击穿工具类的封装
Summary of three methods for SQL deduplication
oracle优化:instr做join条件很慢「建议收藏」
502 bad gateway causes and solutions