报错信息如下:
意思是grunt的插件没有找到,使用淘宝镜像依次安装
npm install grunt-contrib-clean –registry=https://registry.npm.taobao.org
npm install grunt-contrib-concat –registry=https://registry.npm.taobao.org
npm install grunt-contrib-watch –registry= https://registry.npm.taobao.orgnpm install grunt-contrib-connect –registry= https://registry.npm.taobao.org
npm install grunt-contrib-copy –registry= https://registry.npm.taobao.org
npm install grunt-contrib-jasmine –registry=https://registry.npm.taobao.org
安装过程如下图:
安装成功后使用grunt server启动elasticsearch head成功