当前位置:网站首页>After the cnpm installation is successful, the prompt is not an internal and external command, nor is it a runnable command solution
After the cnpm installation is successful, the prompt is not an internal and external command, nor is it a runnable command solution
2022-08-03 15:15:00 【The..Fuir】
1. Installation of cnpm:
npm install -g cnpm --registry=https://registry.npm.taobao.org2. After the successful installation of cnpm, it will prompt:
3. Run cnpm -v and report an error:
4. Solution: in Add Path to Environment Variables
cmd Enter the following command to get to the cnpm download directory
npm config get prefixOpen environment variables:
Right-click My Computer-->Properties-->Advanced System Settings
Add the cnpm download directory path to the path of "system variables".
Double click to enter
Done
边栏推荐
- Clickhouse Filling the Pit 3: Left Join changed to Right Join, resulting in incorrect statistical results
- 又有大厂员工连续加班倒下/ 百度搜狗取消快照/ 马斯克生父不为他骄傲...今日更多新鲜事在此...
- Use Typora+EasyBlogImageForTypora to write a blog and upload pictures quickly without a picture bed
- 2021年12月电子学会图形化四级编程题解析含答案:质数判断器
- eolink告诉你,国内Api行业,可以内卷到什么程度?
- 云硬盘EVS详解以及如何用与避坑【华为云至简致远】
- Mysql 生成排序序号
- cnpm 安装成功后提示不是内部和外部命令,也不是可运行的命令解决方案
- ubiquant量化竞赛
- PHP中高级面试题 – 第三天
猜你喜欢
随机推荐
问题1:批量测试(正式测试)之前应该怎么做?
Several methods of installing Mysql in Linux
MATLAB中writetimetable函数用法
STM32H743VIT6配置ADC为1M采样率
R7 6800H+RTX3050+120Hz 2.8K OLED屏,无畏Pro15 2022开启预售
动态链接库.dll、.so和静态库.a,cmake指令
eolink告诉你,国内Api行业,可以内卷到什么程度?
问题8:对朋友圈进行用例设计
Windows服务器如何防止黑客入侵的安全设置
实习路途:记录给我的第一个实习项目中的困惑
PAT乙级-B1013 数素数(20)
Detailed explanation of cloud hard disk EVS and how to use and avoid pits [HUAWEI CLOUD is simple and far]
深度学习——安装CUDA以及CUDNN实现tensorflow的GPU运行
生物统计师与临床医生协同研究使用的低代码洞察平台丨数据科学 x 临床医学
问题3:你提交的缺陷开发认为这不是BUG,怎么办?
A high-performance creation book, ASUS Dreadnought Pro15 2022 is completely enough for daily photo editing and editing!
liunx服务器遇到SYN_SENT洪水攻击
正则表达式入门二(普通字符)
【周报】2022年7月31日
无内鬼,来点干货!SQL优化和诊断

















