Have upgraded npm and node in local windows. Still same error behaviour as below.

Thanks for your inputs. Will create a query in  https://github.com/elastic/elasticsearch-js too as you suggested.

---