Using this code:
js.node.Https.request(path, function(res:js.node.http.IncomingMessage) {}).end();
Generates:
js_node_Https.request(path, null ,function(res) {}).end();
The null here breaks the code and the https request is not sent. The correct code is :
js_node_Https.request(path ,function(res) {}).end();
A workaround is to use all three parameters with valid inputs:
js.node.Https.request(path, {}, function(res:js.node.http.IncomingMessage) {}).end();
Using hxnodejs with haxelib 12.1.0, and nodejs v12.18.2