当前位置:网站首页>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
边栏推荐
- Cloudera Manager —— 端到端的企业数据中心管理工具
- Find a Go job in 7 days, Conditional statements to learn in Gopher, loop statements, Part 3
- 面试、工作中常用sql大全(建议收藏备用)
- Sql optimization summary!detailed!(Required for the latest interview in 2021)
- 结构化查询语言SQL-关系数据库标准语言
- 3.网页信息解析方法:Xpath与BeautifulSoup
- 突破传统可靠性测试:混沌工程优秀实践
- 学自动化测试哪个培训机构好 试听课程后就选了这个地方学习
- 透过开发抽奖小程序,体会创新与迭代
- Windows系统Mysql8版本的安装教程
猜你喜欢

拥抱趋势!阿里这套微服务开源框架权威手册,实战到底层细致清晰

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

线程池 ThreadPoolExecutor 详解

学自动化测试哪个培训机构好 试听课程后就选了这个地方学习

一文吃透接口调用神器RestTemplate

无法将“node.exe”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。

SQL - Left join, Right join, Inner join

才22岁!这位'00后'博士拟任职985高校!

分布式事务——分布式事务简介、分布式事务框架 Seata(AT模式、Tcc模式、Tcc Vs AT)、分布式事务—MQ
随机推荐
SQL力扣刷题五
mysql automatically adds creation time and update time
The principle of v-model
v-model的原理
sql中 exists的用法
MySQL中JOIN的用法
【虚拟化生态平台】平台架构图&思路和实现细节
7 天学个Go,Go 结构体 + Go range 来学学
Yarn安装配置(vsftpd安装配置)
Life is endless, there are more questions, simple questions to learn knowledge points
What does "chmod 777-R filename" mean?
A Method for Ensuring Data Consistency of Multi-Party Subsystems
Insertion and deletion of doubly linked list
Initial JDBC programming
5 个开源的 Rust Web 开发框架,你选择哪个?
实现弹框组件
After class, watching the documentation and walking back to the lab, I picked up the forgotten SQL operators again
生命不息,刷题不止,简单题学习知识点
一、excel转pdf格式jacob.jar
一文吃透接口调用神器RestTemplate