The code contains multiple references to not existing variables/methods, or have typos in them. For example referencing err instead of error, which on an error results in yet another error because Node-RED can't handle the actual error. A few samples below, but there might be more I haven't spotted yet.
The code contains multiple references to not existing variables/methods, or have typos in them. For example referencing
err
instead oferror
, which on an error results in yet another error because Node-RED can't handle the actual error. A few samples below, but there might be more I haven't spotted yet.https://github.com/julien-pal/node-red-contrib-elasticsearch/blob/8b537ebe66edd09abec727453c9d8f15986fe8c8/elasticsearch/elasticsearch-bulk.js#L43-L47
err
instead oferror
https://github.com/julien-pal/node-red-contrib-elasticsearch/blob/8b537ebe66edd09abec727453c9d8f15986fe8c8/elasticsearch/elasticsearch-config.js#L17-L26 What is the
gRPC server
? No variablethis.localServer
, no functionstopServer
https://github.com/julien-pal/node-red-contrib-elasticsearch/blob/8b537ebe66edd09abec727453c9d8f15986fe8c8/elasticsearch/elasticsearch-config.html#L28 The port is defined on the javascript file, but not on the configuration (html), will likely result in problems. Furthermore, the port is never used when creating the client: https://github.com/julien-pal/node-red-contrib-elasticsearch/blob/8b537ebe66edd09abec727453c9d8f15986fe8c8/elasticsearch/elasticsearch-config.js#L32-L37
https://github.com/julien-pal/node-red-contrib-elasticsearch/blob/8b537ebe66edd09abec727453c9d8f15986fe8c8/elasticsearch/elasticsearch-search.html#L1 Again the
gRPC server
. Isn't this theelasticsearch.search
functionality?