# Node Red Not working ! Nodes not installing!

**URL:** <https://discourse.nodered.org/t/node-red-not-working-nodes-not-installing/32629>\
**Category:** General\
**Created:** [9 September 2020 08:33 UTC](https://discourse.nodered.org/t/node-red-not-working-nodes-not-installing/32629 "2020-09-09T08:33:35Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![Peter](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/peter/32/25135_2.png) [@Peter](https://discourse.nodered.org/u/Peter)\
**Post date:** [9 September 2020 11:54 UTC](https://discourse.nodered.org/t/node-red-not-working-nodes-not-installing/32629/21 "2020-09-09T11:54:06Z")

</div>

hi NIck @knolleary, There was no comprehensive startup log as usual,,

just this :

```auto
pi@raspberrypi:~ $ node-red start
9 Sep 13:13:08 - [info]

Welcome to Node-RED
===================

9 Sep 13:13:08 - [info] Node-RED version: v1.1.3
9 Sep 13:13:08 - [info] Node.js version: v12.18.3
9 Sep 13:13:08 - [info] Linux 4.19.118+ arm LE
9 Sep 13:13:14 - [info] Loading palette nodes
corrupted size vs. prev_size
Aborted

```

---

<div class="post-metadata">

**Author:** ![Peter](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/peter/32/25135_2.png) [@Peter](https://discourse.nodered.org/u/Peter)\
**Post date:** [9 September 2020 12:09 UTC](https://discourse.nodered.org/t/node-red-not-working-nodes-not-installing/32629/22 "2020-09-09T12:09:02Z")

</div>

Another issue i am noticing is that when i install a node , it shows installing and after a few min it stops and the button reads "install" and not "installed" as usual. as if noting happened. regardless of the node i am trying to install .

```auto
2020-09-09T12:11:02.504Z Install : node-red-contrib-oled 0.1.0

2020-09-09T12:11:15.169Z [err] npm ERR! code ELIFECYCLE
2020-09-09T12:11:15.169Z [err] npm ERR! errno 1
2020-09-09T12:11:15.229Z [err] npm ERR! i2c-bus@1.2.5 install: `node-gyp rebuild`
2020-09-09T12:11:15.229Z [err] npm ERR!
2020-09-09T12:11:15.250Z [err] Exit status 1
2020-09-09T12:11:15.250Z [err] npm ERR! 
2020-09-09T12:11:15.250Z [err] npm ERR! Failed at the i2c-bus@1.2.5 install script.
2020-09-09T12:11:15.250Z [err] npm
2020-09-09T12:11:15.259Z [err] ERR! This is probably not a problem with npm. There is likely additional logging output above.
2020-09-09T12:11:15.626Z [err] 
2020-09-09T12:11:15.626Z [err] npm ERR! A complete log of this run can be found in:
2020-09-09T12:11:15.626Z [err] npm ERR! /home/pi/.npm/_logs/2020-09-09T12_11_15_510Z-debug.log
2020-09-09T12:11:15.685Z rc=1

```

---

<div class="post-metadata">

**Author:** ![Peter](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/peter/32/25135_2.png) [@Peter](https://discourse.nodered.org/u/Peter)\
**Post date:** [9 September 2020 12:16 UTC](https://discourse.nodered.org/t/node-red-not-working-nodes-not-installing/32629/23 "2020-09-09T12:16:19Z")

</div>

No , now no nodes wants to install . shit!!!!!!!!!!!!!! 🤯

---

<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:** [9 September 2020 12:25 UTC](https://discourse.nodered.org/t/node-red-not-working-nodes-not-installing/32629/24 "2020-09-09T12:25:41Z")

</div>

So what errors do you get when you try to install a node on the command-line in the `~/.node-red` directory?

---

<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:** [9 September 2020 13:22 UTC](https://discourse.nodered.org/t/node-red-not-working-nodes-not-installing/32629/25 "2020-09-09T13:22:36Z")

</div>

so let's rewind a little if we can... let's try and clean up and step forwards

```auto
cd ~/.node-red
npm uninstall node-red-contrib-oled node-red-node-sqlite node-red-contrib-nfc

```

then install one at a time and report the results here

```auto
npm i node-red-node-sqlite

```

then repeat for the others...  
then stop and restart Node-RED.

---

<div class="post-metadata">

**Author:** ![Peter](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/peter/32/25135_2.png) [@Peter](https://discourse.nodered.org/u/Peter)\
**Post date:** [9 September 2020 13:24 UTC](https://discourse.nodered.org/t/node-red-not-working-nodes-not-installing/32629/26 "2020-09-09T13:24:33Z")

</div>

HI @dceejay,

Ok , let me do that. dont go far ..give me 5 min

---

<div class="post-metadata">

**Author:** ![Peter](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/peter/32/25135_2.png) [@Peter](https://discourse.nodered.org/u/Peter)\
**Post date:** [9 September 2020 13:29 UTC](https://discourse.nodered.org/t/node-red-not-working-nodes-not-installing/32629/27 "2020-09-09T13:29:40Z")

</div>

@dceejay, ok successfully uninstalled ...respose :

```auto
removed 745 packages and audited 164 packages in 134.765s

2 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

```

Now I will try to install one by one as shown above

---

<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:** [9 September 2020 13:31 UTC](https://discourse.nodered.org/t/node-red-not-working-nodes-not-installing/32629/28 "2020-09-09T13:31:53Z")

</div>

ok - do nfc last. hasn't been touched for 2 years and uses i2c which has moved on a lot since then... so that may the source of a lot of the problems.

---

<div class="post-metadata">

**Author:** ![Peter](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/peter/32/25135_2.png) [@Peter](https://discourse.nodered.org/u/Peter)\
**Post date:** [9 September 2020 13:39 UTC](https://discourse.nodered.org/t/node-red-not-working-nodes-not-installing/32629/29 "2020-09-09T13:39:41Z")

</div>

@dceejay,

> [@dceejay](#):
>
> do nfc last.

OK, got it. the Sqlite is still busy installing ...will wait for it to complete, i know you said it will take at least 20min?

While I wait, do you have any advice on the Keypad / NFC / OLED that needs to be run by the same bus port? how does one go about this to make this work?

"The project I need to complete one's node-red is working again " below

([Keypad + LCD + RFID help needed / issue](https://discourse.nodered.org/t/keypad-lcd-rfid-help-needed-issue/32638))

---

<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:** [9 September 2020 13:50 UTC](https://discourse.nodered.org/t/node-red-not-working-nodes-not-installing/32629/30 "2020-09-09T13:50:31Z")

</div>

Sorry - I'm not that familiar with i2c - the hardware usually a jumper or switch or something that allows you to select an alternate address if necessary. I thought different bus meant different pins at the Pi end. eg see pic here  
 ![](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/0/b0bb80100c84605b1316027b36fb7b6d8f1b5d09.png)

---

<div class="post-metadata">

**Author:** ![Peter](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/peter/32/25135_2.png) [@Peter](https://discourse.nodered.org/u/Peter)\
**Post date:** [9 September 2020 13:55 UTC](https://discourse.nodered.org/t/node-red-not-working-nodes-not-installing/32629/31 "2020-09-09T13:55:01Z")

</div>

HI @dceejay,

> [@dceejay](#):
>
> I'm not that familiar with i2c

no problem, I will keep on digging!

On the SQLite topic, still waiting. it is standing still for a long time on the same line ...

---

<div class="post-metadata">

**Author:** ![Peter](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/peter/32/25135_2.png) [@Peter](https://discourse.nodered.org/u/Peter)\
**Post date:** [9 September 2020 13:59 UTC](https://discourse.nodered.org/t/node-red-not-working-nodes-not-installing/32629/32 "2020-09-09T13:59:26Z")

</div>

Ok @dceejay, SQLite installation is completed and restarted node-red and the Sqlite node is not in the toolbar ?

Never mind, after reboot it was working perfect !! thank you

---

<div class="post-metadata">

**Author:** ![Peter](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/peter/32/25135_2.png) [@Peter](https://discourse.nodered.org/u/Peter)\
**Post date:** [9 September 2020 14:10 UTC](https://discourse.nodered.org/t/node-red-not-working-nodes-not-installing/32629/33 "2020-09-09T14:10:27Z")

</div>

npm i node-red-contrib-oled  
npm ERR! code ETARGET  
npm ERR! notarget No matching version found for oled-i2c-bus@^3.0.1.  
npm ERR! notarget In most cases you or one of your dependencies are requesting  
npm ERR! notarget a package version that doesn't exist.  
npm ERR! notarget  
npm ERR! notarget It was specified as a dependency of 'node-red-contrib-oled'  
npm ERR! notarget

npm ERR! A complete log of this run can be found in:  
npm ERR! /home/pi/.npm/\_logs/2020-09-09T14\_08\_23\_158Z-debug.log

---

<div class="post-metadata">

**Author:** ![Peter](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/peter/32/25135_2.png) [@Peter](https://discourse.nodered.org/u/Peter)\
**Post date:** [9 September 2020 14:14 UTC](https://discourse.nodered.org/t/node-red-not-working-nodes-not-installing/32629/34 "2020-09-09T14:14:34Z")

</div>

HI @dceejay, It seems the other don't want to install ?

---

<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:** [9 September 2020 14:15 UTC](https://discourse.nodered.org/t/node-red-not-working-nodes-not-installing/32629/35 "2020-09-09T14:15:21Z")

</div>

> [@Peter](#):
>
> npm i node-red-contrib-oled

The node is broken. You could submit an issue on the node's github page.

---

<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:** [9 September 2020 14:17 UTC](https://discourse.nodered.org/t/node-red-not-working-nodes-not-installing/32629/36 "2020-09-09T14:17:49Z")

</div>

I think we have been here before. There are already issues about that against the node but it appears the author has gone AWOL. There are suggested workarounds in the issues.

---

<div class="post-metadata">

**Author:** ![Peter](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/peter/32/25135_2.png) [@Peter](https://discourse.nodered.org/u/Peter)\
**Post date:** [9 September 2020 14:18 UTC](https://discourse.nodered.org/t/node-red-not-working-nodes-not-installing/32629/37 "2020-09-09T14:18:23Z")

</div>

HI @Colin, why and how. I installed this same node this weekend on another PI and project, and worked fine?

---

<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:** [9 September 2020 14:19 UTC](https://discourse.nodered.org/t/node-red-not-working-nodes-not-installing/32629/38 "2020-09-09T14:19:35Z")

</div>

No idea, sorry. As you can see the package.json calls for a version of oled-i2c-bus that does not exist.

---

<div class="post-metadata">

**Author:** ![Peter](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/peter/32/25135_2.png) [@Peter](https://discourse.nodered.org/u/Peter)\
**Post date:** [9 September 2020 14:24 UTC](https://discourse.nodered.org/t/node-red-not-working-nodes-not-installing/32629/39 "2020-09-09T14:24:41Z")

</div>

@Colin, no worries mate,

Im just frustrated for something that worked and now all of a sudden nothing seems to work or install.

i have re-installed the OS and replaced the Pi zero with a new one, still nothing . its 38 hours straight now trying !!!!

---

<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:** [9 September 2020 14:25 UTC](https://discourse.nodered.org/t/node-red-not-working-nodes-not-installing/32629/40 "2020-09-09T14:25:12Z")

</div>

ah yes - ISTR we have been here before a while back - I think the workaround was this - [https://github.com/HendrikRoth/node-red-contrib-oled/issues/21](https://github.com/HendrikRoth/node-red-contrib-oled/issues/21)

[Previous page](https://discourse.nodered.org/t/node-red-not-working-nodes-not-installing/32629.md?page=1)

[Next page](https://discourse.nodered.org/t/node-red-not-working-nodes-not-installing/32629.md?page=3)
