when I run npm install hexo-cli -g
in git bash terminal in my computer, I experience a network proxy issue as shown by image below:
Asked
Active
Viewed 434 times
0

peteb
- 18,552
- 9
- 50
- 62
-
I think this should help http://stackoverflow.com/questions/31228862/npm-warn-optional-dep-failed-continuing-fsevents0-3-6 – Rarepuppers Feb 29 '16 at 06:17
-
the use of image to show your problem is nice but give a nice description to it so one reading your question can identify the problem before need to load external image and read it. – JrBenito May 09 '16 at 21:42
-
@comoss, the issue not related, the error is, in fact related to network proxy. – JrBenito Jun 06 '16 at 16:48
1 Answers
0
Seems like your computer is behind a proxy/firewall. If you configure the proxy correctly it might work. Try this:
npm config set proxy http://proxy.company.com:8080
npm config set https-proxy http://proxy.company.com:8080
Don´t forget to change proxy.company.com:8080
with values from your proxy (you can find it in your Internet Explorer network configuration). More information can be found here
If this don´t help, please, provide us the npm-debug.log
file.

JrBenito
- 973
- 8
- 30