当前位置:网站首页>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
边栏推荐
猜你喜欢

2021年12月电子学会图形化二级编程题解析含答案:绘制多边形

2021年12月电子学会图形化三级编程题解析含答案:跳高比赛

2021年12月电子学会图形化二级编程题解析含答案:消灭蝙蝠

nodeJs--跨域

【实战】Next.js + 云函数开发一个面试刷题网站

彻底搞懂云桌面配置及实践踩坑【华为云至简致远】

2021年12月电子学会图形化四级编程题解析含答案:新冠疫苗接种系统

动态链接库.dll、.so和静态库.a,cmake指令

A high-performance creation book, ASUS Dreadnought Pro15 2022 is completely enough for daily photo editing and editing!

2021年12月电子学会图形化三级编程题解析含答案:分身术
随机推荐
上亿数据怎么玩深度分页?兼容MySQL + ES + MongoDB
PAT乙级-B1010 一元多项式求导(25)
STM32H743VIT6配置ADC为1M采样率
简介undo log、truncate、以及undo log如何帮你回滚事物?
8月份加密市场的三个关键预期 价格虽向北移动?预计仍将处于动荡之中
Clickhouse Filling the Pit 3: Left Join changed to Right Join, resulting in incorrect statistical results
【软件工程之美 - 专栏笔记】36 | DevOps工程师到底要做什么事情?
redis的使用方法
[The Beauty of Software Engineering - Column Notes] 36 | What exactly do DevOps engineers do?
PAT乙级-B1012 数字分类(20)
生物统计师与临床医生协同研究使用的低代码洞察平台丨数据科学 x 临床医学
方舟生存进化开服需要多少钱
MySQL面试必备(一)基础篇
2022年镇海夏令营组合数学和数论班 —— 数学作业 1
cnpm 安装成功后提示不是内部和外部命令,也不是可运行的命令解决方案
liunx服务器遇到SYN_SENT洪水攻击
【周报】2022年7月31日
SQL 不新增表 把一张表定义成两张
分布式系统与微服务的区别
C语言将GLib库添加到CMake工程中







