当前位置:网站首页>'NPM' is not an internal or external command, nor is it a runnable program or batch file
'NPM' is not an internal or external command, nor is it a runnable program or batch file
2022-04-23 07:45:00 【Senior salted fish~】
problem :
Installed node.js after , Use npm --version May prompt ‘npm’ Not an internal or external command , It's not a runnable program Or batch files .
reason : May be environment variable Not configured properly
1、 stay “ This computer ” Right click in and click Properties

2、 After entering the system, click “ Advanced system setup ” Environment variables in

3、 Find... In the system variable Path, Click to enter Path

4、 see node.exe The address of ( Blue place )

5、 Add... At the end node.exe The address of , Then click OK

6、 stay cmd Input npm-v View version information

If the version information is output, the configuration is successful !
版权声明
本文为[Senior salted fish~]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230623087070.html
边栏推荐
猜你喜欢
随机推荐
王者荣耀-unity学习之旅
ogldev-读书笔记
7.子查询
js之DOM学习三种创建元素的方式
学会使用搜索引擎
12.约束
7. sub query
SAP SALV14 后台输出SALV数据可直接保存文件,发送Email(带排序、超链接、筛选格式)
Thorough inquiry -- understanding and analysis of cocos2d source code
【TED系列】如何与内心深处的批评家相处?
AuthorizationServer(授权服务器的简单搭建)
反思 | Android 音视频缓存机制的系统性设计
超级宝典&编程指南(红蓝宝书)-读书笔记
Mvcc (multi version concurrency control)
9. Common functions
F-牛妹的苹果树(直径合并)
【自我激励系列】到底是什么真正阻碍了你?
简单理解==和equals,String为什么可以不用new
js之DOM学习获取元素
积性函数与迪利克雷卷积








