# Node red contrib OLED, can't download nodes

**URL:** <https://discourse.nodered.org/t/node-red-contrib-oled-cant-download-nodes/26632>\
**Category:** General\
**Created:** [14 May 2020 05:45 UTC](https://discourse.nodered.org/t/node-red-contrib-oled-cant-download-nodes/26632 "2020-05-14T05:45:11Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![nobb26](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nobb26/32/21888_2.png) [@nobb26](https://discourse.nodered.org/u/nobb26)\
**Post date:** [14 May 2020 05:45 UTC](https://discourse.nodered.org/t/node-red-contrib-oled-cant-download-nodes/26632/1 "2020-05-14T05:45:12Z")

</div>

I have not been successful in using nodes associated with OLED.  
Either OLED node and dependencies won't install , or if they do install cannot use them in a flow as they throw up error messages. Have tried upgrading npm and Node.js, still no success. Is there now an underlying problem with acquiring the Node Red Oled node and dependencies. Any help would be appreciated.

---

<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:** [14 May 2020 05:51 UTC](https://discourse.nodered.org/t/node-red-contrib-oled-cant-download-nodes/26632/2 "2020-05-14T05:51:53Z")

</div>

Which libraries?

What are the errors.

---

<div class="post-metadata">

**Author:** ![nobb26](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nobb26/32/21888_2.png) [@nobb26](https://discourse.nodered.org/u/nobb26)\
**Post date:** [14 May 2020 06:42 UTC](https://discourse.nodered.org/t/node-red-contrib-oled-cant-download-nodes/26632/3 "2020-05-14T06:42:31Z")

</div>

When I was able to download I get this error message, “TypeError: Cannot read property ‘setCursor, of undefined”  
Another error I get  
“Error:ENOENT: no such file or directory, open ‘/dev/i2c-1’”

---

<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:** [14 May 2020 08:09 UTC](https://discourse.nodered.org/t/node-red-contrib-oled-cant-download-nodes/26632/4 "2020-05-14T08:09:43Z")

</div>

> [@nobb26](#):
>
> I have not been successful in using nodes associated with OLED.  
> Either OLED node and dependencies won't install

which nodes?

Please identify them for us in the flow library. That way, anyone who has had this issue before can assist.

> [@nobb26](#):
>
> Have tried upgrading npm and Node.js, still no success.

What versions were you on. What version are you on now? This is important info as some nodes have problems with some versions of node.

> [@nobb26](#):
>
> TypeError: Cannot read property ‘setCursor, of undefined”  
> Another error I get  
> “Error:ENOENT: no such file or directory, open ‘/dev/i2c-1’”

Without knowing which nodes. This is quite meaningless.

---

<div class="post-metadata">

**Author:** ![nobb26](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nobb26/32/21888_2.png) [@nobb26](https://discourse.nodered.org/u/nobb26)\
**Post date:** [14 May 2020 11:09 UTC](https://discourse.nodered.org/t/node-red-contrib-oled-cant-download-nodes/26632/5 "2020-05-14T11:09:19Z")

</div>

Hi Stephen  
Thanks for your interest.  
The version of Node Red I am using is v1.0.3  
The node causing the problem is the String Node in the OLED group.  
The flow is simple and involves an inject, function as well as the String  
I am following the YouTube video "RPi Node-Red:OLED Display by T3 Alliance.  
I confess to being a bit of a Newbie, but I hope that is what you are after.  
Cheers Neil

---

<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:** [14 May 2020 11:16 UTC](https://discourse.nodered.org/t/node-red-contrib-oled-cant-download-nodes/26632/6 "2020-05-14T11:16:15Z")

</div>

> [@nobb26](#):
>
> I confess to being a bit of a Newbie, but I hope that is what you are after.

We were all newbies at one time 🙂

Unfortunately that is not what people would need to help you.

> [@nobb26](#):
>
> The node causing the problem is the String Node in the OLED group.

that makes no sense I'm afraid.

You need to identify the node in the flow library so anyone else using it can see its the same one - then they (might) be able to help or point you in the right direction...

which node?

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/0/70b76eef064f500799bf45c7aaad8c8e404afa73.png)

Additionally, when you see an error - if you can copy the error message as text, its best to paste it into the forum like this

`````  
`code / json / error info here between backticks`  
`````

Also, screenshots showing where errors occured (was it in console? in node-red debug window?) etc.

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [14 May 2020 17:23 UTC](https://discourse.nodered.org/t/node-red-contrib-oled-cant-download-nodes/26632/7 "2020-05-14T17:23:55Z")

</div>

> [@Steve-Mcl](#):
>
> > [@nobb26](#):
> >
> > The node causing the problem is the String Node in the OLED group.
> 
> that makes no sense I'm afraid.

@Steve-Mcl Steve, the OLED node installs 12 nodes and one is a 'String` node

@nobb26 what platform are you running NR on?  
Is the OLED connected to that device?  
Have you been able to get the OLED to work outside of Node-RED?

---

<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:** [14 May 2020 17:33 UTC](https://discourse.nodered.org/t/node-red-contrib-oled-cant-download-nodes/26632/8 "2020-05-14T17:33:42Z")

</div>

> [@zenofmud](#):
>
> Steve, the OLED node installs 12 nodes and one is a 'String` node

Thats all good and well - but which node did he install in node red? I can assume but you know what they say about that. 😉

Once the OP identifies it, I would instruct him to look in the nodes repository for issues / solutions & if none, then to raise an issue.

EDIT....

If we assume it is node-red-contrib-oled then looking at the [package](https://github.com/HendrikRoth/node-red-contrib-oled/blob/master/package.json) there is no mention of this "String" node the only deps i see are

```json
"dependencies": {
    "i2c-bus": "^5.1.0",
    "oled-font-5x7": "^1.0.3",
    "oled-i2c-bus": "^3.0.1"
  },

```

_(nothing to say one of those deps dont require something called `string` however)_

But thats why I asked which node.

And heres another oddity - the `oled-i2c-bus` is requiring V3.0.1 however on NPM there is [only V1.0.11](https://www.npmjs.com/package/oled-i2c-bus)

Additionally, "node-red-contrib-oled" has barely been touched in 3y

Lastly, i2c-bus has a minor version update too (v5.2.0)

If I were to need this - I'd likely fork it.

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [14 May 2020 18:28 UTC](https://discourse.nodered.org/t/node-red-contrib-oled-cant-download-nodes/26632/9 "2020-05-14T18:28:21Z")

</div>

The node is node-red-contrib-oled and it installs 12 nodes

 ![Screen Shot 2020-05-14 at 1.42.43 PM](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/4/04b75d7e6d980a6fada3dc944c83b442488d8362.png)  
And there is a report in GitHub of a problem installing the node

---

<div class="post-metadata">

**Author:** ![nobb26](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nobb26/32/21888_2.png) [@nobb26](https://discourse.nodered.org/u/nobb26)\
**Post date:** [16 May 2020 05:43 UTC](https://discourse.nodered.org/t/node-red-contrib-oled-cant-download-nodes/26632/10 "2020-05-16T05:43:01Z")

</div>

It was the String Node from the OLED group. These are the flow details.

[{"id":"86a9b74a.3a40f8","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"a3e4da6a.9f8cc8","type":"inject","z":"86a9b74a.3a40f8","name":"","topic":"","payload":"Hello world","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":120,"y":120,"wires":[["b1ff9794.fec0e8"]]},{"id":"b1ff9794.fec0e8","type":"function","z":"86a9b74a.3a40f8","name":"Format message","func":"msg.payload = {\n x:1,\n y:50,\n text:msg.payload\n}\nreturn msg;","outputs":1,"noerr":0,"x":430,"y":160,"wires":[["6ed6125e.9b8c7c"]]},{"id":"6ed6125e.9b8c7c","type":"String","z":"86a9b74a.3a40f8","name":"OLED","display":"242fdfa3.047e5","x":660,"y":200,"wires":},{"id":"242fdfa3.047e5","type":"oled-config","z":"","name":"","width":"128","height":"64","address":"3c"}]

I am using Node Red on Raspberry Pi Buster.  
Hope that helps. Thanks again for your interest and time.

---

<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:** [16 May 2020 08:07 UTC](https://discourse.nodered.org/t/node-red-contrib-oled-cant-download-nodes/26632/11 "2020-05-16T08:07:18Z")

</div>

> [@zenofmud](#):
>
> And there is a report in GitHub of a problem installing the node

I dont see any issue about the package pointing to a non existent version of `oled-i2c-bus`

on 4th Apr, the dev [updated packages](https://github.com/HendrikRoth/node-red-contrib-oled/commit/be9bd094e9f8c7ef9a14828d77271de8ff799912) & change if from V1.0.10 to V3.0.1 - I suspect that is an error since the highest version of `oled-i2c-bus` is [V1.0.11](https://www.npmjs.com/package/oled-i2c-bus)

Then again, I have just noticed in flow library it shows V0.1.0 and not updated for 2years - so this might be a red herring (until he publishes to NPM)

@nobb26 you could try updating package.json manually & npm install

---

<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:** [15 July 2020 08:07 UTC](https://discourse.nodered.org/t/node-red-contrib-oled-cant-download-nodes/26632/12 "2020-07-15T08:07:20Z")

</div>

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