# Nodered subflows not working。

**URL:** <https://discourse.nodered.org/t/nodered-subflows-not-working/14879>\
**Category:** General\
**Created:** [29 August 2019 01:40 UTC](https://discourse.nodered.org/t/nodered-subflows-not-working/14879 "2019-08-29T01:40:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![peterwh83](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/peterwh83/32/11458_2.png) [@peterwh83](https://discourse.nodered.org/u/peterwh83)\
**Post date:** [29 August 2019 01:40 UTC](https://discourse.nodered.org/t/nodered-subflows-not-working/14879/1 "2019-08-29T01:40:28Z")

</div>

We have several subflows in our Nodered flows, and they were working fine previously.

However, they were not working until a month ago. the subflows are not receiving any data from other flows.

And I noticed that there is an error in node-red-node-email in the installed palette list.  
Error message: Error : Requires nodejs version \>= 8.  
The version of this palette is 1.6.2

May I ask how to resolve this issue please?  
Do we need to upgrade the nodejs version in the node-red services on cloud ? and how?

Thanks a lot.

---

<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:** [29 August 2019 06:31 UTC](https://discourse.nodered.org/t/nodered-subflows-not-working/14879/2 "2019-08-29T06:31:44Z")

</div>

> [@peterwh83](#):
>
> Do we need to upgrade the nodejs version in the node-red services on cloud ? and how?

Yes you do need to upgrade your version of node.

What cloud are you running on? How did you install Node-RED?

---

<div class="post-metadata">

**Author:** ![peterwh83](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/peterwh83/32/11458_2.png) [@peterwh83](https://discourse.nodered.org/u/peterwh83)\
**Post date:** [29 August 2019 08:59 UTC](https://discourse.nodered.org/t/nodered-subflows-not-working/14879/3 "2019-08-29T08:59:36Z")

</div>

Hi Knolleary,

I am using the Node-Red services on IBM public cloud.  
The services was installed automatically .

And how should I upgrade my node version ?

Thanks a lot.

---

<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:** [29 August 2019 09:03 UTC](https://discourse.nodered.org/t/nodered-subflows-not-working/14879/4 "2019-08-29T09:03:36Z")

</div>

1. log in to the IBM Cloud dashboard and go to the dashboard page for your application
2. in the bottom right corner is a box where you can enable the 'continuous delivery' feature. Once enabled, this will create a git repository where you can edit your application code and a deployment toolchain that will deploy changes.
3. Edit your `package.json` file and change the `engines` entry to say `10.x`. Then push the changes back and your application will be restaged.

---

<div class="post-metadata">

**Author:** ![peterwh83](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/peterwh83/32/11458_2.png) [@peterwh83](https://discourse.nodered.org/u/peterwh83)\
**Post date:** [2 September 2019 08:16 UTC](https://discourse.nodered.org/t/nodered-subflows-not-working/14879/5 "2019-09-02T08:16:28Z")

</div>

Hi Knolleary,

When I changed the engines entry to 10.x , it failed during the compile.  
(Failed to compile droplet: Failed to compile droplet: exit status 1)

But it works when I changed the engines entry to 8.x.

And the problem solved .

Thanks a lot.
