[SOLVED] 'cnpm' is not recognized as an internal or external command, operable program or batch file

An error is reported when executing cnmp install

'cnpm' is not recognized as an internal or external command, operable program

Solution: download cnmp

1. Type the following code directly in the cmd command

npm install -g cnpm --registry=https://registry.npm.taobao.org

Wait for the installation to succeed:

2. Check whether the installation is successful, execute the following code to display the version of cnmp, if it appears, it means the installation is successful

cnpm -v

Thanks for watching, please like and support if it is useful, if there are any mistakes, welcome to point out, learn from each other and make progress together! ! ! !

Guess you like

Origin blog.csdn.net/good_good_study5/article/details/128908456