# RED.nodes.getNode fails on Windows 10

**URL:** <https://discourse.nodered.org/t/red-nodes-getnode-fails-on-windows-10/18069>\
**Category:** Developing Nodes\
**Created:** [17 November 2019 19:05 UTC](https://discourse.nodered.org/t/red-nodes-getnode-fails-on-windows-10/18069 "2019-11-17T19:05:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Post date:** [17 November 2019 19:05 UTC](https://discourse.nodered.org/t/red-nodes-getnode-fails-on-windows-10/18069/1 "2019-11-17T19:05:56Z")

</div>

Hi folks,

I'm currently developing a node which contains following endpoint:

```auto
RED.httpAdmin.get('/xterm_shell/:node_id/:terminal_id/:command/:info', function(req, res) {
   var xtermShellNode = RED.nodes.getNode(req.params.node_id);
   ...
}

```

The config screen call this endpoint and passes it's node\_id in the URL.

Normally I only work on Raspberry, and **on Raspberry it works fine!!** The `RED.nodes.getNode` returns the specified node instance, so I can do my stuff ...

However this node needs to do some specific stuff on Windows, so I have tested this on my **Windows 10** portable. But there the function returns `null`:

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/f/fe4d1a4b5ecd8fcc9a48f66b10bc93ed376ceff8.png)

- The node id is passed correctly by the client via the URL:

- This corresponds exactly to the node id in my flow editor:

- So I hoped to find something more by debugging into the `RED.nodes.getNode`, but there all _ **arrays are empty** _ for some reason:

- And I think my versions are quite correct:

Does anybody have a tip?

Thanks,  
Bart
