# Unable to start node-red Windows

**URL:** <https://discourse.nodered.org/t/unable-to-start-node-red-windows/16315>\
**Category:** General\
**Created:** [4 October 2019 12:35 UTC](https://discourse.nodered.org/t/unable-to-start-node-red-windows/16315 "2019-10-04T12:35:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![iungo](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/iungo/32/8099_2.png) [@iungo](https://discourse.nodered.org/u/iungo)\
**Post date:** [4 October 2019 12:35 UTC](https://discourse.nodered.org/t/unable-to-start-node-red-windows/16315/1 "2019-10-04T12:35:23Z")

</div>

After start node-red I see the next error.

How to solve it?

```auto
4 Oct 15:30:41 - Error: The module '\\?\C:\Users\DELL\.node-red\node_modules\serialport\build\Release\serialport.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 57. This version of Node.js requires
NODE_MODULE_VERSION 64. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:807:18)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at bindings (C:\Users\DELL\.node-red\node_modules\bindings\bindings.js:81:44)
    at Object.<anonymous> (C:\Users\DELL\.node-red\node_modules\serialport\lib\bindings\win32.js:2:36)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (C:\Users\DELL\.node-red\node_modules\serialport\lib\bindings\auto-detect.js:8:22)

```

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [4 October 2019 12:52 UTC](https://discourse.nodered.org/t/unable-to-start-node-red-windows/16315/2 "2019-10-04T12:52:01Z")

</div>

The error is reasonably clear. The serial node was compiled against a different version of node.js than the one you actually have installed.

There are various ways to fix that but personally, I tend to just delete the `.node-red\node_modules\` folder and then from a command line:

```auto
cd C:\Users\DELL\.node-red\
npm install

```

That should do it.

If you are of a nervous disposition - or just cautious - rename the node\_modules folder instead of deleting it.

As always with node.js apps, make sure that you have installed build-essentials first.

---

<div class="post-metadata">

**Author:** ![iungo](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/iungo/32/8099_2.png) [@iungo](https://discourse.nodered.org/u/iungo)\
**Post date:** [5 October 2019 11:18 UTC](https://discourse.nodered.org/t/unable-to-start-node-red-windows/16315/3 "2019-10-05T11:18:20Z")

</div>

Thank you for an answer. I did it yesterday.  
All work fine now.
