栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 前沿技术 > 大数据 > 大数据系统

已解决elasticsearch-head启动失败,报Failed at the elasticsearch-head@0.0.0 start script.

已解决elasticsearch-head启动失败,报Failed at the elasticsearch-head@0.0.0 start script.

一、前言

我们在学习ES时,安装可视化的界面,elasticsearch-head启动时报错。我们只需要按照报错的提示一步步进行设置安装环境就好了,下面跟着小编一起解决吧!!

二、报错展示
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! elasticsearch-head@0.0.0 start: `grunt server`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the elasticsearch-head@0.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:UsersAdministratorAppDataRoamingnpm-cache_logs2022-01-10T02_51_13_341Z-debug.log
三、解决

报错信息提示说没有grunt环境,我们安装一下即可

1. 安装grunt

npm install grunt --save-dev


2. 重新启动

npm run start


3. 继续依次安装所需要的依赖

 npm install grunt-contrib-clean
 npm install grunt-contrib-concat
 npm install grunt-contrib-watch
 npm install grunt-contrib-connect
 npm install grunt-contrib-copy
 npm install grunt-contrib-jasmine


4. 重新启动

npm run start


5. 启动成功

localhost:9100

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/701848.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号