当前位置:网站首页>Cnpm reports an error 'cnpm' is not an internal or external command, nor is it a runnable program or batch file
Cnpm reports an error 'cnpm' is not an internal or external command, nor is it a runnable program or batch file
2022-06-29 12:58:00 【Henry_ Phoebe】
Execution and installation cnpm
npm install -g cnpm --registry=https://registry.npmmirror.com
After installation , perform cnpm Report errors :
'cnpm' Not an internal or external command , Nor are they runnable programs or batch files
The problem is due to cnpm be not in nodejs Under the folder of the directory
- First perform the following search nodejs The directory is :
where node
Execution and installation cnpm The following command line will appear cnpm Directory after installation , for example :
C:\Users\admin\AppData\Roaming\npm\node_modules\cnpm\bin\cnpm
open cnpm directory , for example :C:\Users\admin\AppData\Roaming\npm\node_modulesCopy cnpm Directory to nodejs In the catalog \node_modules Folder , And npm The folder is also in this directory
open
C:\Users\admin\AppData\Roaming\npm, take cnpm and cnpm.cmd Moved to npm and npm.cmd Under the directory
In the end :


边栏推荐
- C # implements queue structure definition, incoming and outgoing operations
- C#实现顺序表定义、插入、删除、查找操作
- QT signal and slot
- qt json
- 二十三、1-Bit数据的存储(延迟线/磁芯/DRAM/SRAM/磁带/磁盘/光盘/Flash SSD)
- UI file introduction in QT
- Cache consistency, delete cache, write cache, cache breakdown, cache penetration, cache avalanche
- NvtBack
- Recurrence of recommended models (III): recall models youtubednn and DSSM
- STK_GLTF模型
猜你喜欢

Qt的信号与槽

Interview shock 61: tell me about MySQL transaction isolation level?

Go Senior Engineer required course | I sincerely suggest you listen to it. Don't miss it~

Detailed explanation on configuration and commissioning of third-party servo of Beifu TwinCAT -- Taking Huichuan is620n as an example

C#通過中序遍曆對二叉樹進行線索化

QQ group was stolen, a large-scale social death scene caught off guard

缓存一致性,删除缓存,写入缓存,缓存击穿,缓存穿透,缓存雪崩

Definition of C # clue binary tree

cnpm报错‘cnpm‘不是内部或外部命令,也不是可运行的程序或批处理文件

Understanding of P value
随机推荐
SCHIEDERWERK电源维修SMPS12/50 PFC3800解析
Interview shock 61: tell me about MySQL transaction isolation level?
Blurred pictures become clear, one button two-color pictures, quickly organize local pictures These 8 online picture tools apply to join your favorites!
中职网络安全技能竞赛之应用服务漏洞扫描与利用(SSH私钥泄露)
STK_GLTF模型
go 学习-搭建开发环境vscode开发环境golang
在印度与软件相关的发明可不可以申请专利?
C#通过中序遍历对二叉树进行线索化
Murphy safety was selected for signing 24 key projects of Zhongguancun Science City
Go Senior Engineer required course | I sincerely suggest you listen to it. Don't miss it~
QT custom control: value range
[comprehensive case] credit card virtual transaction identification
Install the typescript environment and enable vscode to automatically monitor the compiled TS file as a JS file
SCHIEDERWERK電源維修SMPS12/50 PFC3800解析
推荐模型复现(一):熟悉Torch-RecHub框架与使用
huffman编码
C # clue binary tree through middle order traversal
Proteus Software beginner notes
面试突击61:说一下MySQL事务隔离级别?
推荐模型复现(三):召回模型YoutubeDNN、DSSM