当前位置:网站首页>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 definition, insertion and construction of binary sort tree
- MFC-对话框程序核心-IsDialogMessage函数-MSG 消息结构-GetMessage函数-DispatchMessage函数
- 23、 1-bit data storage (delay line / core /dram/sram/ tape / disk / optical disc /flash SSD)
- C binary tree structure definition and node value addition
- 倍福控制第三方伺服走CSV模式--以汇川伺服为例
- Murphy safety was selected for signing 24 key projects of Zhongguancun Science City
- 【君正T31】只读rootfs文件系统squashfs的解压和打包
- Pygame 对图像进行翻转
- qt json
- Pygame 精准检测图像碰撞
猜你喜欢

Matlab to find the limit

倍福控制器连接松下EtherCAT伺服注意事项

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

Proteus Software beginner notes

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

Simple introduction to matlab

Qt的信号与槽

Bison uses error loop records

Problem solving: modulenotfounderror: no module named 'pip‘

QQ group was stolen, a large-scale social death scene caught off guard
随机推荐
Recurrence of recommended models (IV): multi task models esmm and MMOE
Proteus软件初学笔记
倍福TwinCAT3 的OPC_UA通信测试案例
Interview shock 61: tell me about MySQL transaction isolation level?
缓存一致性,删除缓存,写入缓存,缓存击穿,缓存穿透,缓存雪崩
2022.6.28-----leetcode.324
How to create new user for ORACLE 19c (CDB & PDB)
[环境配置]PWC-Net
倍福控制第三方伺服走CSV模式--以汇川伺服为例
How to fix ora-01017: invalid user name / password login denied
qt 自定义控件 :取值范围
解决问题:ModuleNotFoundError: No module named ‘pip‘
C#实现图的邻接矩阵和邻接表结构
【君正T31】只读rootfs文件系统squashfs的解压和打包
[environment configuration]pwc-net
Cache consistency, delete cache, write cache, cache breakdown, cache penetration, cache avalanche
Comparison table of LR and Cr button batteries
C # realize the hierarchical traversal of binary tree
LR、CR纽扣电池对照表
Go Senior Engineer required course | I sincerely suggest you listen to it. Don't miss it~