# Node red pm2 service on windows not able to boot on when the flow stops

**URL:** <https://discourse.nodered.org/t/node-red-pm2-service-on-windows-not-able-to-boot-on-when-the-flow-stops/89750>\
**Category:** General\
**Created:** [25 July 2024 10:22 UTC](https://discourse.nodered.org/t/node-red-pm2-service-on-windows-not-able-to-boot-on-when-the-flow-stops/89750 "2024-07-25T10:22:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tharun](https://avatars.discourse-cdn.com/v4/letter/t/67e7ee/32.png) [@Tharun](https://discourse.nodered.org/u/Tharun)\
**Post date:** [25 July 2024 10:22 UTC](https://discourse.nodered.org/t/node-red-pm2-service-on-windows-not-able-to-boot-on-when-the-flow-stops/89750/1 "2024-07-25T10:22:11Z")

</div>

Dear Team,

This topic is based on Node-Red pm2 services on Windows. I'm trying to work on a local PC with the node js install, installing pm2 services is possible, but after that, I cannot access pm2 files or activate any other services. I need to write pm2 services for Windows node-red to be opened could you please provide me a proper documentation or online support to solve my query?

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/c/9cc035fb507b18e1e691ad2787458a4f058c24bb.png)

---

<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:** [25 July 2024 11:52 UTC](https://discourse.nodered.org/t/node-red-pm2-service-on-windows-not-able-to-boot-on-when-the-flow-stops/89750/2 "2024-07-25T11:52:44Z")

</div>

Do not install npm packages from an admin command prompt.

The issue you have is that pm2 isn't in the path. Type the command `path` and you will find that, for some reason, you should have something like this in the list:

```auto
C:\Users\※※※※※※※\AppData\Roaming\npm

```

---

<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:** [23 October 2024 11:52 UTC](https://discourse.nodered.org/t/node-red-pm2-service-on-windows-not-able-to-boot-on-when-the-flow-stops/89750/3 "2024-10-23T11:52:50Z")

</div>

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