# After upgrate to v1.1.1; flows now not working "error: node not deployed"

**URL:** https://discourse.nodered.org/t/after-upgrate-to-v1-1-1-flows-now-not-working-error-node-not-deployed/29834
**Category:** General
**Created:** [10 July 2020 09:28 UTC](https://discourse.nodered.org/t/after-upgrate-to-v1-1-1-flows-now-not-working-error-node-not-deployed/29834 "2020-07-10T09:28:05Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![kenkoknz](https://avatars.discourse-cdn.com/v4/letter/k/58956e/32.png) [@kenkoknz](https://discourse.nodered.org/u/kenkoknz)
#### Post date: [10 July 2020 09:28 UTC](https://discourse.nodered.org/t/after-upgrate-to-v1-1-1-flows-now-not-working-error-node-not-deployed/29834/1 "2020-07-10T09:28:06Z")

</div>

Finally took the plunge and updated to v1.1.1 with excitement and trepidation (from 0.20 which was stable and was working flawlessly for ages).

Ungraded using standard recommended script, all seems well with no errors. But excitement turns to frustration, now no flows work, e.g any pressing inject node on any flow, gets error: node not deployed. Though I better seek wisdom of forum before I dig a deeper hole.

The exclamation triangle shows:

Flows stopped due to missing node types.  
arduino-board  
oled-config  
arduino out  
Turn-on  
Line  
String  
Clear  
Turn-off

What have I done or should do?

---

<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: [10 July 2020 10:55 UTC](https://discourse.nodered.org/t/after-upgrate-to-v1-1-1-flows-now-not-working-error-node-not-deployed/29834/2 "2020-07-10T10:55:05Z")

</div>

Can you see in your flow any dotted outlines nodes that you remember what they were? Have a look in the manage pallete -\> install, see if you can find updated versions of the missing nodes and install them. Things should spring into life once installed

---

<div class="post-metadata">

### Author: ![kenkoknz](https://avatars.discourse-cdn.com/v4/letter/k/58956e/32.png) [@kenkoknz](https://discourse.nodered.org/u/kenkoknz)
#### Post date: [10 July 2020 22:44 UTC](https://discourse.nodered.org/t/after-upgrate-to-v1-1-1-flows-now-not-working-error-node-not-deployed/29834/3 "2020-07-10T22:44:05Z")

</div>

Hi Steve,  
Thanks for advise, looks like some thing to do with node-red-contrib-oled:  
Error: The module '/home/pi/.node-red/node\_modules/i2c-bus/build/Release/i2c.node' was compiled against a different Node.js version using NODE\_MODULE\_VERSION 57. This version of Node.js requires NODE\_MODULE\_VERSION 72. Please try re-compiling or re-installing the module (for instance, using `npm rebuild` or `npm install`). (line:1)  
I am not sure how to recompile or if I do will cause other problems.  
The thing is that is was working perfectly before the upgrade, and now I cannot even run any flows.  
Anyone else had oled running before and not working now in v1.1.1?  
Thanks,

---

<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: [10 July 2020 22:51 UTC](https://discourse.nodered.org/t/after-upgrate-to-v1-1-1-flows-now-not-working-error-node-not-deployed/29834/4 "2020-07-10T22:51:32Z")

</div>

Did nodejs get updated? Perhaps this node required/requires an older version of nodejs.

Perhaps node-red-contrib-oled node needs some attention / updating.

See if you can find it on GitHub, maybe raise an issue if not already raised.

Failing that, you might try forking it and updating the package.json to use newest references?

Lastly, you might have to downgrade nodejs to V8 (though this is a temporary stop gap measure and not really the best solution)

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [11 July 2020 08:16 UTC](https://discourse.nodered.org/t/after-upgrate-to-v1-1-1-flows-now-not-working-error-node-not-deployed/29834/5 "2020-07-11T08:16:11Z")

</div>

> [@kenkoknz](#):
>
> I am not sure how to recompile

Go into your .node-red folder and run  
`npm install node-red-contrib-oled`  
If at the end it says there was an error then post the full output from the command here (use the `</>` button).  
If it seems to have installed ok then restart node-red.

**[Edit]** Looking at the github repo for the node it seems it is no longer supported. This issue posted there purports to provide the means for getting it going. [Instructions to get this to work for some people · Issue #21 · HendrikRoth/node-red-contrib-oled · GitHub](https://github.com/HendrikRoth/node-red-contrib-oled/issues/21)

In the longer term you will probably need to find an alternative solution that does not use that node.

---

<div class="post-metadata">

### Author: ![kenkoknz](https://avatars.discourse-cdn.com/v4/letter/k/58956e/32.png) [@kenkoknz](https://discourse.nodered.org/u/kenkoknz)
#### Post date: [11 July 2020 22:20 UTC](https://discourse.nodered.org/t/after-upgrate-to-v1-1-1-flows-now-not-working-error-node-not-deployed/29834/6 "2020-07-11T22:20:33Z")

</div>

Thanks Colin, tried `npm install node-red-contrib-oled` and just gives pages n pages of error, so I wont waste your time and paste it here.Best is as u said find an alternative. the only other I found in the pallette is 'nodered-sh110' but that fail to install in v1.1.1 also.  
I roll back to an olde nr version withr node.js v8.11.1 as suggested by Steve, n it install n works. Obviously not a long term solution, I am surprised that there are no working nodes for oled i2c display as it is such a great display compared to lcd.  
Another alternative I guess is to use mqtt and interface to a esp8266 with espeasy oled interface, however just seems a roundabout way.

On the subject of node,js versions and NR versions and NR installation:  
1.Is there a reference table somewhere correlating NR versions and node.js versions when u install using the script.  
2. Is it possible to modify the script to somehow let user to select which version of NR to install?  
3. A script to completely remove NR might be useful. (so one can start from clean slate, I had a look thru the forum,and to complete remove NR is more to it as there are a lot of breadcurumbs)

Anyway back to topic, if anyone has a working oled i2c setup with nr v1.1.1 n node.js v12.13.1, advise will be appreciated.

Thanks,

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [12 July 2020 08:01 UTC](https://discourse.nodered.org/t/after-upgrate-to-v1-1-1-flows-now-not-working-error-node-not-deployed/29834/7 "2020-07-12T08:01:10Z")

</div>

> [@kenkoknz](#):
>
> .Is there a reference table somewhere correlating NR versions and node.js versions when u install using the script.

Valid versions of nodejs (for all recent node red versions) can be found at [Supported Node versions : Node-RED](https://nodered.org/docs/faq/node-versions)  
If there is already a good version of nodejs installed then the script will leave it. Otherwise if installs it. I believe it will install v12 currently, though not sure what it does on a Pi Zero as there isn't an official v12 build for the Zero.

> [@kenkoknz](#):
>
> Is it possible to modify the script to somehow let user to select which version of NR to install?

The easiest way to do that is to let the script install the latest then to manually install the one you want using  
`sudo npm -g --unsafe-perm node-red@n.n.n`  
where `n.n.n` is the version, obviously.

> [@kenkoknz](#):
>
> A script to completely remove NR might be useful. (so one can start from clean slate, I had a look thru the forum,and to complete remove NR is more to it as there are a lot of breadcurumbs)

I guess a script would be tricky as what you mean completely removing node-red may be difficult to define. If you are using npm for other applications then it might be difficult to be certain what has to be removed.  
However it should not be necessary to do that in order to get a 'clean slate'. I have never had to. Simply removing your .node-red folder will remove all locally installed flows and nodes, and installing node-red as above will re-install all the global node red ones. Very rarely if things get in a mess it might be necessary to remove the global node\_modules folder, but that is very rare. I have never had to do that.

---

<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: [12 July 2020 08:51 UTC](https://discourse.nodered.org/t/after-upgrate-to-v1-1-1-flows-now-not-working-error-node-not-deployed/29834/8 "2020-07-12T08:51:33Z")

</div>

> [@Colin](#):
>
> `sudo npm -g --unsafe-perm node-read@n.n.n`  
> where `n.n.n` is the version, obviously.

Beware the deliberate typo there

---

<div class="post-metadata">

### Author: ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)
#### Post date: [12 July 2020 09:39 UTC](https://discourse.nodered.org/t/after-upgrate-to-v1-1-1-flows-now-not-working-error-node-not-deployed/29834/9 "2020-07-12T09:39:05Z")

</div>

As per the referenced table Node-RED is currently supported on the latest/last 8.x version, and latest 10.x 12.x and 14.x versions of node.js - However (as per this thread) that is not the case for all nodes. If you need a certain version of node.js then you need to install that first. How exactly you do that will depend on the exact hardware you are running on.  
Once that is done then the script will add Node-RED on top. You (currently) don't need a specific version of Node-RED to match a specific version on node.js.

When you say completely remove... do you mean 100% completely - including all your flows, nodes etc - or just remove the core of node.js and node-red ?

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [12 July 2020 15:00 UTC](https://discourse.nodered.org/t/after-upgrate-to-v1-1-1-flows-now-not-working-error-node-not-deployed/29834/10 "2020-07-12T15:00:19Z")

</div>

> [@Steve-Mcl](#):
>
> Beware the deliberate typo there

Oops, corrected in original. Thanks

---

<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: [10 September 2020 15:00 UTC](https://discourse.nodered.org/t/after-upgrate-to-v1-1-1-flows-now-not-working-error-node-not-deployed/29834/11 "2020-09-10T15:00:32Z")

</div>

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