# Flows stopped due to missing node types : serial-port

**URL:** <https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-serial-port/62776>\
**Category:** General\
**Created:** [17 May 2022 19:24 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-serial-port/62776 "2022-05-17T19:24:57Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![tai34126](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@tai34126](https://discourse.nodered.org/u/tai34126)\
**Post date:** [17 May 2022 19:24 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-serial-port/62776/1 "2022-05-17T19:24:57Z")

</div>

Hey guys. I have a problem. I can't use the node-red. It shows " Flows stopped due to missing node types: serial-port " How to fix it?  
Thank you!  
pic below

![nodeeee](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/1/710daf75eb68606f8b512470b082f8e32d01405c.png)

---

<div class="post-metadata">

**Author:** ![ghayne](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ghayne/32/39_2.png) [@ghayne](https://discourse.nodered.org/u/ghayne)\
**Post date:** [17 May 2022 21:20 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-serial-port/62776/2 "2022-05-17T21:20:29Z")

</div>

Looks like you need to install the serial port node:

> **[node-red-node-serialport](https://flows.nodered.org/node/node-red-node-serialport)**
>
> Node-RED nodes to talk to serial ports

---

<div class="post-metadata">

**Author:** ![tai34126](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@tai34126](https://discourse.nodered.org/u/tai34126)\
**Post date:** [18 May 2022 10:11 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-serial-port/62776/3 "2022-05-18T10:11:15Z")

</div>

it show this

 ![cmd](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/b/bb22eba992aebef3ac55cfa7eb7a0d7cdc85faa4.png)

---

<div class="post-metadata">

**Author:** ![tai34126](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@tai34126](https://discourse.nodered.org/u/tai34126)\
**Post date:** [18 May 2022 10:12 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-serial-port/62776/4 "2022-05-18T10:12:07Z")

</div>

what can i do? @ghayne

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [18 May 2022 10:16 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-serial-port/62776/5 "2022-05-18T10:16:02Z")

</div>

Do you need serial port?

If no, delete the entry from your flow, deploy, restart

If yes, then you MUST be in the `.node-red` folder BEFORE running `npm install`

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/8/18707b3bbd50e97c1d57cadae7a5ec390fb7a408.png)

Look at the node-red startup output for where your `.node-red` folder is...

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/d/1dfaf92bdaa8b555814c89e187f7d53fee1ef4ba.png)

---

<div class="post-metadata">

**Author:** ![tai34126](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@tai34126](https://discourse.nodered.org/u/tai34126)\
**Post date:** [18 May 2022 14:51 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-serial-port/62776/7 "2022-05-18T14:51:00Z")

</div>

> [@Steve-Mcl](#):
>
> .node-red

thank you! @Steve-Mcl  
but I want to know. How difference about .node-red and newenvironment because when I run node-red I usually used command "node-red -u newenvironment".

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [18 May 2022 15:23 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-serial-port/62776/8 "2022-05-18T15:23:51Z")

</div>

Just start node-red **the way you normally start** node-red - it will tell you the REAL user directory.

An if you are actually doing `node-red -u newenvironment` then it is probably `c:\users\YOURNAME\newenvironment` - but i am guessing. Like i said, start node-red (the project with this problem) and grab the REAL user directory - then you can do the `npm install` in the right place!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [17 July 2022 15:24 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-serial-port/62776/9 "2022-07-17T15:24:43Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
