I was reading through this post, and I have the exact same issue on Kibana 6.4.3:
FATAL Error: Cannot delete files/folders outside the current working directory. Can be overriden with the `force` option. at safeCheck (/var/vcap/data/packages/kibana/18cc759ef9f7faf785ce8b87573928862ad26958/node_modules/del/index.js:18:9) at mapper (/var/vcap/data/packages/kibana/18cc759ef9f7faf785ce8b87573928862ad26958/node_modules/del/index.js:33:4) at Promise.resolve.then.el (/var/vcap/data/packages/kibana/18cc759ef9f7faf785ce8b87573928862ad26958/node_modules/p-map/index.js:46:16) at <anonymous>
However, in my circumstance, I cannot add the
--force flag because Kibana cannot write outside of it's own directory. What is the cause of this error and what steps can I take to resolve it?