我是Kibana的新手,正在尝试在Windows计算机上运行Kibana服务器。 在运行Kibana.bat时,出现致命错误,即找不到plugins / xpack_main。
从net下载xpack_main插件文件后,我尝试手动安装xpack_main插件。Kibana不允许我安装该插件,并显示消息:Kpacka最新版本默认包含xpack_main插件。
错误日志:
C:\softwares\estack\kibana-7.2.0-windows-x86_64\bin>kibana.bat
log [10:01:22.101] [fatal][root] { Error: Cannot find module './plugins/xpack_main'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
at Function.Module._load (internal/modules/cjs/loader.js:507:25)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object.<anonymous> (C:\softwares\estack\kibana-7.2.0-windows-x86_64\x-pack/index.js:7:1)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Module._compile (C:\softwares\estack\kibana-7.2.0-windows-x86_64\node_modules\pirates\lib\index.js:99:24)
at Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Object.newLoader [as .js] (C:\softwares\estack\kibana-7.2.0-windows-x86_64\node_modules\pirates\lib\index.js:104:7)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at createPack (C:\softwares\estack\kibana-7.2.0-windows-x86_64\src\legacy\plugin_discovery\plugin_pack\create_pack.js:33:18)
at MapSubscriber.packageJson$.pipe [as project] (C:\softwares\estack\kibana-7.2.0-windows-x86_64\src\legacy\plugin_discovery\plugin_pack\create_pack.js:66:11)
at MapSubscriber._next (C:\softwares\estack\kibana-7.2.0-windows-x86_64\node_modules\rxjs\internal\operators\map.js:46:35)
at MapSubscriber.Subscriber.next (C:\softwares\estack\kibana-7.2.0-windows-x86_64\node_modules\rxjs\internal\Subscriber.js:64:18)
at RefCountSubscriber.Subscriber._next (C:\softwares\estack\kibana-7.2.0-windows-x86_64\node_modules\rxjs\internal\Subscriber.js:87:26)
at RefCountSubscriber.Subscriber.next (C:\softwares\estack\kibana-7.2.0-windows-x86_64\node_modules\rxjs\internal\Subscriber.js:64:18)
at Subject.next (C:\softwares\estack\kibana-7.2.0-windows-x86_64\node_modules\rxjs\internal\Subject.js:57:25)
at ConnectableSubscriber.Subscriber._next (C:\softwares\estack\kibana-7.2.0-windows-x86_64\node_modules\rxjs\internal\Subscriber.js:87:26) code: 'MODULE_NOT_FOUND' }
FATAL Error: Cannot find module './plugins/xpack_main'