Problem while execute npm run elasticsearch after restart

atlast, I start the elasticsearch in the dev mode using npm run elasticsearch, it works fine.i stop that using ctrl+c , then i start the elasticsearch using the same command npm run elasticsearch, it shows an error,

Hm, I am not sure why the purging of the old directory is failing.

Can you include the output if you do find esvm -maxdepth 3 -type d from the Kibana directory?

Thanks for your response,
[elastic@sandbox kibana]$ find esvm -maxdepth 3 -type d
esvm
esvm/dev
esvm/dev/branch-master
esvm/dev/branch-master/logs
esvm/dev/branch-master/lib
esvm/dev/branch-master/modules
esvm/dev/branch-master/bin
esvm/dev/branch-master/config
esvm/data_dir
esvm/data_dir/nodes
esvm/data_dir/nodes/0

Hm, have you tried running the rmdir command standalone to see if you get a better error?

What is your base OS? Are you running in a VM?

yes, i am running in a VM,in that HDP 2.5 and OS base is Centos

Sorry, I am not sure why that is happening.

You could try just running Elasticsearch from the download and running it that way.

ok.Thank you