Npm install -g gulp reported an error but did not affect usage.

  node.js, question
* * Problem Description * *: This problem has existed before, but it has been ignored because it does not affect the use.  Recently, I have compared with npm of other colleagues. I haven't come to a conclusion after a long time of analysis. I have read too much issue on github and haven't found the answer. therefore, I came to ask for advice. I hope you can help me. thank you.
 
 Npm logs report errors as shown in Figure 1, but install installations report errors.
 For example, ym reported an error when installing express, see Figure 2.
 It is normal to use again, see fig. 3.
 
 I wonder if it is because of the problem of personal computer (win7 64 bit).  Don't want to reinstall the system ah ~ ~ ~
 Personal guess: The error occurred in the directory of open node modules, which may be related to the folder permissions of personal computers, but I have not set the folder permissions, compared with win7 of others, and found no difference.

clipboard.png

clipboard.png

clipboard.png

The reason has been found. As a guess, after modifying the directory of the folder where nodejs is located to full control, it can be installed normally.
Then, if you use the command in the project directory, you will still report an error, which will prompt you that the command cannot be found.
At this time, the directory of the entire disk was changed to full control roughly.

I hope it will be helpful to everyone.