淘客网站cms怎么做,网站单个页面,北京网站seo服务,网站提供什么服务一、windows中es执行步骤
参考#xff1a;https://blog.csdn.net/qq_21197507/article/details/115076913
下es安装包下es前端gitHub代码#xff0c;然后npm -i安装#xff0c;npm run start 启动安装kibana
二、遇到的问题
1. 第二步安装前端代码依赖报错
npm ERR! co…一、windows中es执行步骤
参考https://blog.csdn.net/qq_21197507/article/details/115076913
下es安装包下es前端gitHub代码然后npm -i安装npm run start 启动安装kibana
二、遇到的问题
1. 第二步安装前端代码依赖报错
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! phantomjs-prebuilt2.1.15 install: node install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the phantomjs-prebuilt2.1.15 install 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! D:\heyutool\nodejs\node_cache\_logs\2024-07-16T10_05_38_914Z-debug.log解决方案
npm install phantomjs-prebuilt2.1.16 --ignore-scripts参考https://blog.csdn.net/XuM222222/article/details/82790802
2. 第二步安装完es-head后无法与es进行连接跨域
在es配置文件中加上
http.cors.enabled: true
http.cors.allow-origin: *参考https://blog.csdn.net/LLDDDS/article/details/108930700
3. 第三步安装kibana后无法和es同时打开并连接
原因有可能是版本不一致问题 解决确实是esikkibana版本保持一致
4. 无法再es-head页面上创建索引创建索引请求无响应
原因cmd客户端类似被打断点一样的东西 解决在cmd上点击回车让他继续往下走