# Windows 10 \[error\] Failed to start server: \[error\] TypeError: Cannot read property

**URL:** <https://discourse.nodered.org/t/windows-10-error-failed-to-start-server-error-typeerror-cannot-read-property/18600>\
**Category:** General\
**Created:** [29 November 2019 10:27 UTC](https://discourse.nodered.org/t/windows-10-error-failed-to-start-server-error-typeerror-cannot-read-property/18600 "2019-11-29T10:27:54Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [25 February 2020 23:28 UTC](https://discourse.nodered.org/t/windows-10-error-failed-to-start-server-error-typeerror-cannot-read-property/18600/8 "2020-02-25T23:28:15Z")

</div>

Hi @dougcr4

this is a rare issue that we've never managed to get to the root cause of.

If you are still hitting it, could I trouble you to add a bit of debug into the code to help us figure it out?

Specifically, if you edit the file `C:\Users\Dell\AppData\Roaming\npm\node_modules\node-red\node_modules@node-red\registry\lib\registry.js` and look at line 186 you should see:

```auto
                set.types.forEach(function(t) {
                    if (nodeTypeToId.hasOwnProperty(t)) {

```

Please add the following immediately before it:

```auto
                // START DEBUG
                if (!set.types) {
                    console.log("Module:",module.name);
                    console.log("Path:",module.path);
                    console.log("Set:",setName);
                }
                // END DEBUG
                set.types.forEach(function(t) {
                    if (nodeTypeToId.hasOwnProperty(t)) {

```

The next time you restart Node-RED you'll get a bit more information in the log about what node module its loading when it hits the error

---

_[View the full topic](https://discourse.nodered.org/t/windows-10-error-failed-to-start-server-error-typeerror-cannot-read-property/18600)._
