cool. this is usually caused by installing a plugin as root. it's a tough fix on the kibana side and something we're working on.
in the interim we usually recommend installing plugins as the kibana user sudo -u kibana bin/kibana-plugin install...
you can fix this in the meantime with sudo chmown kibana:kibana /usr/share/kibana/optimize/.babelcache.json