Getting process not defined error when connecting angular 5 with ElasticSearch?
问题 It's my first time using angular with elastic and I am getting the above error on the line "this.client = new Client(//.." exact error ReferenceError: process is not defined at Log.push../node_modules/elasticsearch/src/lib/log.js.Log.addOutput (log.js:213) at new Log (log.js:51) at new Transport (transport.js:19) at new EsApiClient (client.js:58) at new Client (client.js:101) at ElasticsearchService.push../src/app/elasticsearch.service.ts.ElasticsearchService.connect (elasticsearch.service.ts