Npm installs gulp a lot of WARN.

  node.js, question

图片描述

I found a problem ..

I runwhich npmDisplay YesE:\Program Files\nodejs\npm
This is my environment variable

PATH=C:\ProgramData\Oracle\Java\javapath;  C:\Windows\system32;  C:\Windows;  C:\Windo
 ws\System32\Wbem;  C:\Windows\System32\WindowsPowerShell\v1.0\;  C:\Program Files (x
 86)\NVIDIA Corporation\PhysX\Common;  E:\Program Files\nodejs\;  Percentage APPDATA percentage \npm;  C:\R
 uby22\bin;  C:\Users\Kou\AppData\Local\atom\bin;  C:\Users\Kou\AppData\Roaming\npm

Then the hexo I installed before was installed inC:\Users\Kou\AppData\Roaming\npmInside, what I am loading now is in
E:\Program Files\nodejs\node_global\node_modulesInside
The hexo can be used now, but it can’t be installed later.
How can this be solved? ..

Waring is irrelevant.

The problem that gulp should be an environmental variable cannot be found.

A new NODE_PATH adds the path of npm get prefix output. I had the same problem yesterday, but I didn’t install gulp.
Gulp hasn’t tried it, but it’s the way to find the cause of the mistake.