安装elasticsearch-head失败
来源:8-1 业务与功能分析
慕粉1473579783
2017-12-26
老师,我在阿里云centos 7.2上安装elasticsearch-head,执行npm install后,报错:
signal: null,
cmd: 'tar jxf /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2' } Error: Command failed: tar jxf /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2
tar (child): bzip2: Cannot exec: No such file or directory
写回答
1回答
-
瓦力老师
2017-12-26
看起来是环境依赖问题,建议尝试先单独安装PhantomJS依赖,看一下能否成功安装,如果不行,切换镜像到国内的cnpm,或者尝试重装node环境。祝亲学习愉快^_^
112017-12-26
相似问题