当前位置:网站首页>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
边栏推荐
- mysql 索引使用与优化
- 三层架构service、dao、controller层
- 5 open source Rust web development frameworks, which one do you choose?
- Summary of three methods for SQL deduplication
- 台达PLC出现通信错误或通信超时或下载时提示机种不符的解决办法总结
- SQLSERVER merges subquery data into one field
- How SQL intercepts specified characters from strings (three functions of LEFT, MID, RIGHT)
- SQLSERVER将子查询数据合并拼接成一个字段
- Docker安装canal、mysql进行简单测试与实现redis和mysql缓存一致性
- Three-tier architecture service, dao, controller layer
猜你喜欢
随机推荐
apisix-Getting Started
【虚拟化生态平台】平台架构图&思路和实现细节
Windows系统Mysql8版本的安装教程
CoCube群机器人预览→资讯剧透←
下课看着文档走回实验室,我重新拾起了遗忘的SQL运算符
[ 图 论 ]二分图判定及其匹配(基础+提高)
线程池 ThreadPoolExecutor 详解
生命不息,刷题不止,简单题学习知识点
Threading(in thread main)
解决报错TypeError:unsupported operand type(s) for +: ‘NoneType‘ and ‘str‘
台达PLC出现通信错误或通信超时或下载时提示机种不符的解决办法总结
Sql optimization summary!detailed!(Required for the latest interview in 2021)
使用内存映射加快PyTorch数据集的读取
502 bad gateway causes and solutions
[Virtualization Ecological Platform] Platform Architecture Diagram & Ideas and Implementation Details
Summary of three methods for SQL deduplication
【虚拟化生态平台】树莓派安装虚拟化平台操作流程
unity computeshader的可读写buffer
AWS亚马逊云账号注册,免费申请12个月亚马逊云服务器详细教程
Single sign-on principle and implementation





![[Part 1 of Cloud Native Monitoring Series] A detailed explanation of Prometheus monitoring system](/img/af/341c3c3f7e5bcc9172059657c08c4b.png)



