# Error con palette

**URL:** https://discourse.nodered.org/t/error-con-palette/58360
**Category:** General
**Tags:** function-node, database, modbus, uibuilder
**Created:** [15 February 2022 05:21 UTC](https://discourse.nodered.org/t/error-con-palette/58360 "2022-02-15T05:21:07Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![JPgravier](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jpgravier/32/56474_2.png) [@JPgravier](https://discourse.nodered.org/u/JPgravier)
#### Post date: [15 February 2022 05:21 UTC](https://discourse.nodered.org/t/error-con-palette/58360/1 "2022-02-15T05:21:07Z")

</div>

Tengo problemas para descargar librerías en node red, me parece este error.

2022-02-15T05:20:14.400Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production node-red-contrib-buffer-parser@3.2.2  
2022-02-15T05:20:21.399Z [err] npm  
2022-02-15T05:20:21.403Z [err]  
2022-02-15T05:20:21.404Z [err] WARN  
2022-02-15T05:20:21.404Z [err] npm npm does not support Node.js v10.24.0  
2022-02-15T05:20:21.407Z [err] npm  
2022-02-15T05:20:21.407Z [err] WARN  
2022-02-15T05:20:21.408Z [err] npm You should probably upgrade to a newer version of node as we  
2022-02-15T05:20:21.408Z [err] npm  
2022-02-15T05:20:21.408Z [err] WARN  
2022-02-15T05:20:21.409Z [err] npm can't make any promises that npm will work with this version.  
2022-02-15T05:20:21.410Z [err] npm  
2022-02-15T05:20:21.410Z [err] WARN  
2022-02-15T05:20:21.411Z [err] npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.  
2022-02-15T05:20:21.411Z [err] npm  
2022-02-15T05:20:21.412Z [err] WARN npm  
2022-02-15T05:20:21.412Z [err] You can find the latest version at [https://nodejs.org/](https://nodejs.org/)

---

<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: [15 February 2022 06:59 UTC](https://discourse.nodered.org/t/error-con-palette/58360/2 "2022-02-15T06:59:32Z")

</div>

Welcome to the forum @JPgravier

What hardware/OS are you running on and how did you install node red?

---

<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: [15 February 2022 10:19 UTC](https://discourse.nodered.org/t/error-con-palette/58360/3 "2022-02-15T10:19:47Z")

</div>

You have at least 2 issues there.

1. You have somehow ended up with a version of npm that is out of step with node.js
2. You have a version of node.js that is no longer supported.

As Colin has indicated, if you tell us how you installed Node-RED and on what OS, someone will walk you through the update process.

If you are using uibuilder as you indicate. v4.1.4 of uibuilder is the current version and requires a minimum node.js version of v12.x, current versions of node-red have the same requirement.

---

<div class="post-metadata">

### Author: ![JPgravier](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jpgravier/32/56474_2.png) [@JPgravier](https://discourse.nodered.org/u/JPgravier)
#### Post date: [15 February 2022 13:55 UTC](https://discourse.nodered.org/t/error-con-palette/58360/4 "2022-02-15T13:55:12Z")

</div>

@Colin @TotallyInformation estoy usando una orange pi, con sistema operativo armbian.  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/8/e82002a9c0312f061b227c1d9646ff590023bbed.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: [15 February 2022 17:43 UTC](https://discourse.nodered.org/t/error-con-palette/58360/5 "2022-02-15T17:43:51Z")

</div>

Not familiar with that so I may be of limited help.

However, if asked to guess, I would guess that Armbian has a version of Node.js in its standard libraries and that maybe they didn't include npm (a problem with old versions of Rasbian) and so things are out of step.

You still haven't said how you installed Node-RED though - that will make a difference to what we tell you to do next - or was that also pre-installed? What version of Node-RED is it?

---

<div class="post-metadata">

### Author: ![JPgravier](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jpgravier/32/56474_2.png) [@JPgravier](https://discourse.nodered.org/u/JPgravier)
#### Post date: [15 February 2022 19:09 UTC](https://discourse.nodered.org/t/error-con-palette/58360/6 "2022-02-15T19:09:50Z")

</div>

lo instale utilizando este tutorial.  
[https://agrinode.github.io/docs/install\_nodered\_orangepi/](https://agrinode.github.io/docs/install_nodered_orangepi/)

---

<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: [15 February 2022 19:32 UTC](https://discourse.nodered.org/t/error-con-palette/58360/7 "2022-02-15T19:32:25Z")

</div>

Old instructions - Did you go to the nodesource site and choose an up-to-date version of Node.js?

[distributions/README.md at master · nodesource/distributions (github.com)](https://github.com/nodesource/distributions/blob/master/README.md)

You should be using v12, 14 or 16. 14 is a good middle ground.

The other steps aren't too bad.

---

<div class="post-metadata">

### Author: ![JPgravier](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jpgravier/32/56474_2.png) [@JPgravier](https://discourse.nodered.org/u/JPgravier)
#### Post date: [15 February 2022 22:00 UTC](https://discourse.nodered.org/t/error-con-palette/58360/8 "2022-02-15T22:00:19Z")

</div>

@TotallyInformation  
Despues de atulizar npm, nodejs y node red. me salen estos errores

2022-02-15T21:58:16.925Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production node-red-contrib-modbus@5.21.0  
2022-02-15T21:58:35.589Z [err] npm  
2022-02-15T21:58:35.592Z [err]  
2022-02-15T21:58:35.593Z [err] WARN registry Unexpected warning for [https://registry.npmjs.org/:](https://registry.npmjs.org/:) Miscellaneous Warning EHOSTUNREACH: request to [https://registry.npmjs.org/node-red-contrib-modbus](https://registry.npmjs.org/node-red-contrib-modbus) failed, reason: connect EHOSTUNREACH 104.16.22.35:443  
2022-02-15T21:58:35.595Z [err] npm  
2022-02-15T21:58:35.596Z [err] WARN  
2022-02-15T21:58:35.597Z [err] registry Using stale data from [https://registry.npmjs.org/](https://registry.npmjs.org/) due to a request error during revalidation.  
2022-02-15T21:58:44.001Z [err] npm  
2022-02-15T21:58:44.003Z [err] ERR! code EHOSTUNREACH  
2022-02-15T21:58:44.003Z [err] npm ERR!  
2022-02-15T21:58:44.004Z [err] errno EHOSTUNREACH  
2022-02-15T21:58:44.051Z [err] npm  
2022-02-15T21:58:44.053Z [err] ERR! request to [https://registry.npmjs.org/node-red-contrib-modbus](https://registry.npmjs.org/node-red-contrib-modbus) failed, reason: connect EHOSTUNREACH 104.16.18.35:443  
2022-02-15T21:58:44.081Z [err]  
2022-02-15T21:58:44.082Z [err] npm ERR!  
2022-02-15T21:58:44.083Z [err] A complete log of this run can be found in:  
2022-02-15T21:58:44.083Z [err] npm ERR!  
2022-02-15T21:58:44.083Z [err] /root/.npm/\_logs/2022-02-15T21\_58\_44\_060Z-debug.log  
2022-02-15T21:58:44.111Z rc=1

---

<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: [15 February 2022 23:34 UTC](https://discourse.nodered.org/t/error-con-palette/58360/9 "2022-02-15T23:34:05Z")

</div>

For some reason, when you ran that, your device couldn't reach the npm registry site.

---

<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: [16 April 2022 23:34 UTC](https://discourse.nodered.org/t/error-con-palette/58360/10 "2022-04-16T23:34:10Z")

</div>

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