npm Error: tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:8787
删除代理设置
npm config rm proxy
npm config rm https-proxy
参考:
http://stackoverflow.com/questions/33322739/npm-error-tunneling-socket-could-not-be-established-cause-connect-etimedout