# Flow stopped due to missing node types. npm

**URL:** <https://discourse.nodered.org/t/flow-stopped-due-to-missing-node-types-npm/60040>\
**Category:** General\
**Created:** [18 March 2022 15:41 UTC](https://discourse.nodered.org/t/flow-stopped-due-to-missing-node-types-npm/60040 "2022-03-18T15:41:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![thebaldgeek](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/thebaldgeek/32/93523_2.png) [@thebaldgeek](https://discourse.nodered.org/u/thebaldgeek)\
**Post date:** [18 March 2022 15:41 UTC](https://discourse.nodered.org/t/flow-stopped-due-to-missing-node-types-npm/60040/1 "2022-03-18T15:41:10Z")

</div>

Rebooted my Windows computer and was met with this when restarting.

I have seen this error before with other nodes and you can usually install them and get running again, but this time I am stumped.... How can npm be missing?  
What do I need to install to get running again?

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

Doing `npm -v` shows 7.9.0  
I think that means its installed, so how can it be missing?

---

<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:** [18 March 2022 16:04 UTC](https://discourse.nodered.org/t/flow-stopped-due-to-missing-node-types-npm/60040/2 "2022-03-18T16:04:19Z")

</div>

This is not referring to the `npm` command line tool.

This means your flows have a node of type 'npm' in - and the runtime cannot find the module that provides that node type.

Checking the flow library I see the module [node-red-contrib-npm (node) - Node-RED](https://flows.nodered.org/node/node-red-contrib-npm) provides that node.

You could search your flows for `npm` to see where that node is (or possibly search for `unknown`). If it is a node you flows are actively using, then you'll need to install the `node-red-contrib-npm` module in the usual way, then restart Node-RED.

If it isn't a node you are actively using, then delete it and hit deploy to restart your flows.

---

<div class="post-metadata">

**Author:** ![thebaldgeek](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/thebaldgeek/32/93523_2.png) [@thebaldgeek](https://discourse.nodered.org/u/thebaldgeek)\
**Post date:** [18 March 2022 16:14 UTC](https://discourse.nodered.org/t/flow-stopped-due-to-missing-node-types-npm/60040/3 "2022-03-18T16:14:33Z")

</div>

Thanks so much for helping there Nick. The site was down and the avgeeks were getting cranky!

I installed that node and we are back up and running. I just need to track down how/why that node is being used.  
The error sure had me miss-directed.

Thanks again for answering and helping out so quick.

---

<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:** [1 April 2022 16:14 UTC](https://discourse.nodered.org/t/flow-stopped-due-to-missing-node-types-npm/60040/4 "2022-04-01T16:14:38Z")

</div>

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