当前位置:网站首页>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.org
2. 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 prefix
Open 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
边栏推荐
猜你喜欢
随机推荐
PAT乙级-B1018 锤子剪刀布(20)
2021年12月电子学会图形化四级编程题解析含答案:新冠疫苗接种系统
网络中的交换机和路由器
使用虚幻引擎自动化工具实现自动化部署
动态链接库.dll、.so和静态库.a,cmake指令
2022-08-03日报:汪林望 vs 刘铁岩:AI、机器学习在材料科学研究中能发挥哪些作用?
【周报】2022年7月24日
eolink告诉你,国内Api行业,可以内卷到什么程度?
Clickhouse填坑记3:Left Join改Right Join导致统计结果错误
A high-performance creation book, ASUS Dreadnought Pro15 2022 is completely enough for daily photo editing and editing!
地球自转加快
php中接口、抽象类以及接口和抽象类区别详解
How to use redis
2022年镇海夏令营组合数学和数论班 —— 数学作业 1
mysql占用服务器CPU100%的解决办法
What are the visual database design software _ database visual programming
2021年12月电子学会图形化一级编程题解析含答案:放学
PHP高级面试题 - 第二天
HDU 1160 FatMouse's Speed(最长递减子序列变形)
Js array method is summarized