Home > front end >  Ask the great spirit of NPM - v error problem
Ask the great spirit of NPM - v error problem

Time:09-26

I small white one, heart thermal vue, think of all the way on pit, heart tired,
According to the installation node tutorial for the first time, the vue - cli4, all no problem, happily learned two star, suddenly discovered that NPM command is always an error, cannot install the plug-in, then try the NPM -v comfort ourselves, the result is an error, for two days, can only come here to consult a great god, here is my basic situation




CodePudding user response:

May you have a problem of the node,,, online again under a pair of

I don't how long is a serious with node installation program finished did not say to change the environment variables

CodePudding user response:

Use HbuilderX less trouble

CodePudding user response:

Uninstalled, installation can be used again, but soon appear this problem again, the new node, NPM is automatically configure the environment variables,

This is also a package manager HbuilderX? Can I try

refer to the second floor God_E response:
with HbuilderX less trouble

CodePudding user response:

You install to another dish, don't bring Spaces such as D dish, such as D: \ nodejs

CodePudding user response:

NPM cache clean - clean out f the turntable NPM or directly node bring NPM

CodePudding user response:


Your last picture as I change the image format

CodePudding user response:

Also is your final picture red mark the box, it's your own node node_global folder

CodePudding user response:

Use the administrator open a command line window to try,
  • Related