Hey there. Sorry you're running into trouble. When you say you ran into it before, can you let us know whether this was a issue you already reported (or saw in our issues list)? Offhand, my guess is there's some issue with the Ace editor we're using and the compile itself. Anything weird you have setup or any more information you can give? Assume you saw this on the open source version?
If you have installed X-pack then following instruction you have to follow:
In this Elastic Stack 6.x version doesn't provide default username and password like elasstic and changeme if you have to see your Elastic Stack Default x-pack passwords then you used following command:
elasticsearch/bin/x-pack/setup-passwords auto -u "http://elasticsearch_IP:9200"
After this You have to change in your kibana.yml file
I had the same issue when I used a lowercase driverletter d:\app\kibana\kibana.bat (within nssm)
when I change it to the correct case, the optimize step works (after a clean unzip), and the error is gone.
This is a very similar issue to Kibana 6.1.0. and newer starts with error
I tried starting kibana version 6.2.3 (with x-pack installed) as a service, manually unsuccessfully, both times making sure the working directory is kibana_home (d:\ELK\apps\kibana-6.2.3-windows-x86_64) not the bin directory. I also removed the "optimize" directory without success.