Home > front end >  After using NPM install CNPM view CNPM - v shows "order is not within"
After using NPM install CNPM view CNPM - v shows "order is not within"

Time:09-25

This kind of situation whether to need to configure the CNPM environment variables; How to configure?

CodePudding user response:

Emmmm give you partial blog http://blog.csdn.net/soularbiter/article/details/78009573

CodePudding user response:

Configure the environment variables: http://blog.csdn.net/u014540814/article/details/78777961

CodePudding user response:

You first need to install CNPM, if there is no CNPM, computer will quote this error
Installation, press the Windows + r, type CMD, open the command indicator window ,
enter the command:
NPM install CNPM - g - registry=https://registry.npm.taobao.org
Enter the command to check: CNPM -v

Or to the errors, it is environment variable configuration is not correct
Bloggers should be read before the node. Js installation tutorial, only configuration NPM environment,
As my computer environment D: \ NodeJS/node_modules/NPM
Right-click the desktop
& gt; Attributes - & gt; Advanced system Settings - & gt; Environment variables, & gt; System path variable - & gt; Edit,
The D: \ NodeJS \ node_modules \ NPM path behind of NPM removal with respect to OK,
As my computer environment D: \ NodeJS \ node_modules \
Spicy yao put this entire folder are added to the system,
Can also only , only need to add CNPM path in the path;
For example, D: \ NodeJS \ node_modules \ CNPM

To open a , enter the command: CNPM -v
Success!!!!!!!!!!!
  • Related