当前位置:网站首页>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 :


边栏推荐
- 二十三、1-Bit数据的存储(延迟线/磁芯/DRAM/SRAM/磁带/磁盘/光盘/Flash SSD)
- C#实现二叉排序树定义、插入、构造
- [环境配置]PWC-Net
- Uncover the practice of Baidu intelligent test in the field of automatic test execution
- 三维模型下载与动画控制
- Install the typescript environment and enable vscode to automatically monitor the compiled TS file as a JS file
- C#实现队列结构定义、入队、出队操作
- C # implements the operations of sequence table definition, insertion, deletion and search
- 推荐模型复现(四):多任务模型ESMM、MMOE
- 推荐模型复现(一):熟悉Torch-RecHub框架与使用
猜你喜欢

MATLAB求极限

推荐模型复现(四):多任务模型ESMM、MMOE

SCHIEDERWERK電源維修SMPS12/50 PFC3800解析

Comment calculer Win / Tai / Loss in paired t - test

LeetCode_ Double pointer_ Medium_ 328. parity linked list

推荐模型复现(一):熟悉Torch-RecHub框架与使用

Paper reproduction - ac-fpn:attention-guided context feature pyramid network for object detection

Cereal mall project

Baidu cloud disk downloads large files without speed limit (valid for 2021-11 personal test)

【云原生】2.4 Kubernetes 核心实战(中)
随机推荐
C # realize the definition, stack entry and stack exit of stack structure
Viewing splitchunks code segmentation from MPX resource construction optimization
1. Opencv实现简单颜色识别
Beifu PLC controls servo through CANopen communication
Earth observation satellite data
超 Nice 的表格响应式布局小技巧
C # clue binary tree through middle order traversal
推荐模型复现(三):召回模型YoutubeDNN、DSSM
How to fix ORA-01017:用户名/口令无效 登录拒绝
Matlab to find the limit
asp.net 项目使用aspnet_compiler.exe发布
缓存一致性,删除缓存,写入缓存,缓存击穿,缓存穿透,缓存雪崩
NvtBack
Comparison table of LR and Cr button batteries
C#通過中序遍曆對二叉樹進行線索化
Unexpected ‘debugger‘ statement no-debugger
Pygame 精准检测图像碰撞
MFC dialog program core -isdialogmessage function -msg message structure -getmessage function -dispatchmessage function
Interpolated scatter data
Cache consistency, delete cache, write cache, cache breakdown, cache penetration, cache avalanche