Browser version: Google Chrome Version 120.0.6099.130 (Official Build) (64-bit)
Browser OS version: Microsoft Edge Version 120.0.2210.91 (Official build) (64-bit)
Original install method (e.g. download page, yum, from source, etc.):
Describe the bug:
Error when try to run the kibana.bat command from cmd or powershell
Found the line Kibana started then after waiting for 1 min or try to call url: http://localhost:5601/ this error happened
and the session terminated
Error: Cannot find module './get_prebuilt_rules_and_timelines_status/get_prebuilt_rules_and_timelines_status_route.gen'
Steps to reproduce:
Download Kibana For Windows from official website
Unzip kibana-8.11.2-windows-x86_64.zip file
Move to this file kibana-8.11.0\config
Open kibana.yml file
Un comment the following lines then save the file
server.port: 5601
server.host: "localhost"
elasticsearch.hosts: ["http://localhost:9200"]
elasticsearch.username: "kibana_system"
elasticsearch.password: "pass"
Move to kibana-8.11.0\bin
Open cmd or powershell terminal on this page
Run this command kibana.bat for cmd or ./kibana for powershell
Expected behavior: Kibana working and can be able to open this web application http://localhost:5601
D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\src\cli\dist.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)
at Function.Module._load (node:internal/modules/cjs/loader:922:27)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at Module.Hook._require.Module.require (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\require-in-the-middle\index.js:167:34)
at Module.Hook._require.Module.require (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\require-in-the-middle\index.js:167:34)
at Module.Hook._require.Module.require (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\require-in-the-middle\index.js:167:34)
at Module.Hook._require.Module.require (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\require-in-the-middle\index.js:167:34)
at Module.Hook._require.Module.require (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\require-in-the-middle\index.js:167:34)
at Module.Hook._require.Module.require (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\require-in-the-middle\index.js:167:34)
at require (node:internal/modules/cjs/helpers:119:18)
at Object. (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\@kbn\security-solution-plugin\common\api\detection_engine\prebuilt_rules\index.js:6:54)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Function.Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at Module.Hook._require.Module.require (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\require-in-the-middle\index.js:188:39)
at Module.Hook._require.Module.require (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\require-in-the-middle\index.js:188:39)
at Module.Hook._require.Module.require (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\require-in-the-middle\index.js:188:39)
at Module.Hook._require.Module.require (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\require-in-the-middle\index.js:188:39)
at Module.Hook._require.Module.require (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\require-in-the-middle\index.js:188:39)
at Module.Hook._require.Module.require (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\require-in-the-middle\index.js:188:39)
at require (node:internal/modules/cjs/helpers:119:18)
at Object. (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\@kbn\security-solution-plugin\common\api\detection_engine\index.js:50:23)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Function.Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at Module.Hook._require.Module.require (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\require-in-the-middle\index.js:188:39)
at Module.Hook._require.Module.require (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\require-in-the-middle\index.js:188:39)
at Module.Hook._require.Module.require (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\require-in-the-middle\index.js:188:39)
at Module.Hook._require.Module.require (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\require-in-the-middle\index.js:188:39)
at Module.Hook._require.Module.require (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\require-in-the-middle\index.js:188:39)
at Module.Hook._require.Module.require (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\require-in-the-middle\index.js:188:39)
at require (node:internal/modules/cjs/helpers:119:18)
at Object. (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\@kbn\security-solution-plugin\server\lib\detection_engine\rule_schema\model\rule_schemas.js:12:25)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Function.Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at Module.Hook._require.Module.require (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\require-in-the-middle\index.js:188:39)
at Module.Hook._require.Module.require (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\require-in-the-middle\index.js:188:39)
at Module.Hook._require.Module.require (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\require-in-the-middle\index.js:188:39)
at Module.Hook._require.Module.require (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\require-in-the-middle\index.js:188:39)
at Module.Hook._require.Module.require (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\require-in-the-middle\index.js:188:39)
at Module.Hook._require.Module.require (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\require-in-the-middle\index.js:188:39)
at require (node:internal/modules/cjs/helpers:119:18)
at Object. (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\@kbn\security-solution-plugin\server\lib\detection_engine\rule_schema\index.js:17:21)
Kibana version: kibana-8.11.2
Elasticsearch version: elasticsearch-8.11.3
Nodejs version: nodejs 20.10.0
Server OS version: Windows 11 Pro
Browser version: Google Chrome Version 120.0.6099.130 (Official Build) (64-bit)
Browser OS version: Microsoft Edge Version 120.0.2210.91 (Official build) (64-bit)
Original install method (e.g. download page, yum, from source, etc.):
Describe the bug: Error when try to run the kibana.bat command from cmd or powershell Found the line Kibana started then after waiting for 1 min or try to call url: http://localhost:5601/ this error happened and the session terminated Error: Cannot find module './get_prebuilt_rules_and_timelines_status/get_prebuilt_rules_and_timelines_status_route.gen'
Steps to reproduce:
Expected behavior: Kibana working and can be able to open this web application http://localhost:5601
Screenshots (if relevant):
Errors in browser console (if relevant): D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\bin>kibana.bat Kibana is currently running with legacy OpenSSL providers enabled! For details and instructions on how to disable see https://www.elastic.co/guide/en/kibana/8.11/production.html#openssl-legacy-provider {"log.level":"info","@timestamp":"2024-01-03T14:16:09.647Z","log":{"logger":"elastic-apm-node"},"agentVersion":"4.1.0","env":{"pid":10560,"proctitle":"C:\Windows\System32\cmd.exe - kibana.bat","os":"win32 10.0.22621","arch":"x64","host":"aafify-EG","timezone":"UTC+0200","runtime":"Node.js v18.18.2"},"config":{"serviceName":{"source":"start","value":"kibana","commonName":"service_name"},"serviceVersion":{"source":"start","value":"8.11.2","commonName":"service_version"},"serverUrl":{"source":"start","value":"https://kibana-cloud-apm.apm.us-east-1.aws.found.io/","commonName":"server_url"},"logLevel":{"source":"default","value":"info","commonName":"log_level"},"active":{"source":"start","value":true},"contextPropagationOnly":{"source":"start","value":true},"environment":{"source":"start","value":"production"},"globalLabels":{"source":"start","value":[["kibana_uuid","dafb2cb7-29c4-48db-9c36-e370753d4ab6"],["git_rev","92746356b61c3e3ac62b6d7045727f8d737fa4b5"]],"sourceValue":{"kibana_uuid":"dafb2cb7-29c4-48db-9c36-e370753d4ab6","git_rev":"92746356b61c3e3ac62b6d7045727f8d737fa4b5"}},"secretToken":{"source":"start","value":"[REDACTED]","commonName":"secret_token"},"breakdownMetrics":{"source":"start","value":false},"captureSpanStackTraces":{"source":"start","sourceValue":false},"centralConfig":{"source":"start","value":false},"metricsInterval":{"source":"start","value":120,"sourceValue":"120s"},"propagateTracestate":{"source":"start","value":true},"transactionSampleRate":{"source":"start","value":0.1,"commonName":"transaction_sample_rate"},"captureBody":{"source":"start","value":"off","commonName":"capture_body"},"captureHeaders":{"source":"start","value":false}},"activationMethod":"require","ecs":{"version":"1.6.0"},"message":"Elastic APM Node.js Agent v4.1.0"} [2024-01-03T16:16:11.185+02:00][INFO ][root] Kibana is starting [2024-01-03T16:16:11.204+02:00][INFO ][node] Kibana process configured with roles: [background_tasks, ui] [2024-01-03T16:16:26.196+02:00][INFO ][root] Kibana is shutting down [2024-01-03T16:16:26.200+02:00][FATAL][root] Reason: Cannot find module './get_prebuilt_rules_and_timelines_status/get_prebuilt_rules_and_timelines_status_route.gen' Require stack:
D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\src\cli\dist.js at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1077:15) at Function.Module._load (node:internal/modules/cjs/loader:922:27) at Module.require (node:internal/modules/cjs/loader:1143:19) at Module.Hook._require.Module.require (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\require-in-the-middle\index.js:167:34) at Module.Hook._require.Module.require (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\require-in-the-middle\index.js:167:34) at Module.Hook._require.Module.require (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\require-in-the-middle\index.js:167:34) at Module.Hook._require.Module.require (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\require-in-the-middle\index.js:167:34) at Module.Hook._require.Module.require (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\require-in-the-middle\index.js:167:34) at Module.Hook._require.Module.require (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\require-in-the-middle\index.js:167:34) at require (node:internal/modules/cjs/helpers:119:18) at Object. (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\@kbn\security-solution-plugin\common\api\detection_engine\prebuilt_rules\index.js:6:54)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Function.Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at Module.Hook._require.Module.require (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\require-in-the-middle\index.js:188:39)
at Module.Hook._require.Module.require (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\require-in-the-middle\index.js:188:39)
at Module.Hook._require.Module.require (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\require-in-the-middle\index.js:188:39)
at Module.Hook._require.Module.require (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\require-in-the-middle\index.js:188:39)
at Module.Hook._require.Module.require (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\require-in-the-middle\index.js:188:39)
at Module.Hook._require.Module.require (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\require-in-the-middle\index.js:188:39)
at require (node:internal/modules/cjs/helpers:119:18)
at Object. (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\@kbn\security-solution-plugin\common\api\detection_engine\index.js:50:23)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Function.Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at Module.Hook._require.Module.require (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\require-in-the-middle\index.js:188:39)
at Module.Hook._require.Module.require (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\require-in-the-middle\index.js:188:39)
at Module.Hook._require.Module.require (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\require-in-the-middle\index.js:188:39)
at Module.Hook._require.Module.require (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\require-in-the-middle\index.js:188:39)
at Module.Hook._require.Module.require (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\require-in-the-middle\index.js:188:39)
at Module.Hook._require.Module.require (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\require-in-the-middle\index.js:188:39)
at require (node:internal/modules/cjs/helpers:119:18)
at Object. (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\@kbn\security-solution-plugin\server\lib\detection_engine\rule_schema\model\rule_schemas.js:12:25)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Function.Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at Module.Hook._require.Module.require (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\require-in-the-middle\index.js:188:39)
at Module.Hook._require.Module.require (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\require-in-the-middle\index.js:188:39)
at Module.Hook._require.Module.require (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\require-in-the-middle\index.js:188:39)
at Module.Hook._require.Module.require (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\require-in-the-middle\index.js:188:39)
at Module.Hook._require.Module.require (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\require-in-the-middle\index.js:188:39)
at Module.Hook._require.Module.require (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\require-in-the-middle\index.js:188:39)
at require (node:internal/modules/cjs/helpers:119:18)
at Object. (D:\Tools\ElasticSearch_Kibana_logstash\kibana-8.11.2\node_modules\@kbn\security-solution-plugin\server\lib\detection_engine\rule_schema\index.js:17:21)
FATAL Error: Cannot find module './get_prebuilt_rules_and_timelines_status/get_prebuilt_rules_and_timelines_status_route.gen' Require stack:
Provide logs and/or server output (if relevant):
Any additional context: