当前位置:网站首页>'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
边栏推荐
猜你喜欢
随机推荐
8. Paging query
js之预解析
MySQL index
Reflection on the systematic design of Android audio and video caching mechanism
公共依赖模块common的处理
11.表和库的管理
面经的总结
14. Transaction processing
BTree、B+Tree和HASH索引
Solutions to common problems in visualization (VII) solutions to drawing scale setting
3. Sort statement
9. Common functions
【自我激励系列】到底是什么真正阻碍了你?
CSDN很火的汤小洋老师全部课程总共有哪些(问号问号问号)
7.子查询
On BFC (block formatting context)
判断字符串首尾是否包含目标参数:startsWith()、endsWith()方法
SAP PI / Po rfc2restful Publishing RFC interface as restful examples (proxy indirect)
js案例之求最大值,反转数组,冒泡排序
积性函数与迪利克雷卷积