mobz / elasticsearch-head

A web front end for an elastic search cluster
http://mobz.github.io/elasticsearch-head/
Other
9.42k stars 2.02k forks source link

Unable to install mobz/elasticsearch-head Part 2 #473

Open mydevice opened 2 years ago

mydevice commented 2 years ago

Hello,

Using nmp to install elasticsearch-head from git , i have this error:

[root@localhost elasticsearch-head]# npm install npm http GET https://registry.npmjs.org/grunt/1.0.1 npm http GET https://registry.npmjs.org/grunt-contrib-clean/1.0.0 npm http GET https://registry.npmjs.org/grunt-contrib-jasmine/1.0.3 npm http GET https://registry.npmjs.org/grunt-contrib-concat/1.0.1 npm http GET https://registry.npmjs.org/grunt-contrib-watch/1.0.0 npm http GET https://registry.npmjs.org/grunt-contrib-connect/1.0.2 npm http GET https://registry.npmjs.org/grunt-contrib-copy/1.0.0 npm http GET https://registry.npmjs.org/karma/1.3.0 npm http GET https://registry.npmjs.org/grunt-karma/2.0.0 npm http GET https://registry.npmjs.org/http-proxy npm http GET https://registry.npmjs.org/grunt-contrib-concat/1.0.1 npm http GET https://registry.npmjs.org/grunt-contrib-clean/1.0.0 npm http GET https://registry.npmjs.org/grunt-contrib-jasmine/1.0.3 npm http GET https://registry.npmjs.org/grunt/1.0.1 npm http GET https://registry.npmjs.org/grunt-contrib-watch/1.0.0 npm http GET https://registry.npmjs.org/grunt-karma/2.0.0 npm http GET https://registry.npmjs.org/grunt-contrib-connect/1.0.2 npm http GET https://registry.npmjs.org/karma/1.3.0 npm http GET https://registry.npmjs.org/grunt-contrib-copy/1.0.0 npm http GET https://registry.npmjs.org/http-proxy npm http GET https://registry.npmjs.org/grunt-contrib-concat/1.0.1 npm http GET https://registry.npmjs.org/grunt-contrib-clean/1.0.0 npm http GET https://registry.npmjs.org/grunt-contrib-jasmine/1.0.3 npm http GET https://registry.npmjs.org/grunt-contrib-watch/1.0.0 npm http GET https://registry.npmjs.org/grunt/1.0.1 npm http GET https://registry.npmjs.org/grunt-karma/2.0.0 npm http GET https://registry.npmjs.org/grunt-contrib-connect/1.0.2 npm http GET https://registry.npmjs.org/grunt-contrib-copy/1.0.0 npm http GET https://registry.npmjs.org/karma/1.3.0 npm http GET https://registry.npmjs.org/http-proxy npm ERR! network connect ETIMEDOUT npm ERR! network This is most likely not a problem with npm itself npm ERR! network and is related to network connectivity. npm ERR! network In most cases you are behind a proxy or have bad network settings. npm ERR! network npm ERR! network If you are behind a proxy, please make sure that the npm ERR! network 'proxy' config is set properly. See: 'npm help config'

npm ERR! System Linux 2.6.32-642.11.1.el6.x86_64 npm ERR! command "node" "/usr/bin/npm" "install" npm ERR! cwd /usr/share/elasticsearch/plugins/elasticsearch-head npm ERR! node -v v0.10.48 npm ERR! npm -v 1.3.6 npm ERR! syscall connect npm ERR! code ETIMEDOUT npm ERR! errno ETIMEDOUT npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /usr/share/elasticsearch/plugins/elasticsearch-head/npm-debug.log npm ERR! not ok code 0

philipskokoh commented 2 years ago

It seems that you are using old nodejs. Could you try to install latest nodejs?