# Updating dashboard on a raspi zero

**URL:** <https://discourse.nodered.org/t/updating-dashboard-on-a-raspi-zero/48367>\
**Category:** General\
**Created:** [13 July 2021 15:46 UTC](https://discourse.nodered.org/t/updating-dashboard-on-a-raspi-zero/48367 "2021-07-13T15:46:25Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexander77](https://avatars.discourse-cdn.com/v4/letter/a/3ec8ea/32.png) [@alexander77](https://discourse.nodered.org/u/alexander77)\
**Post date:** [13 July 2021 15:46 UTC](https://discourse.nodered.org/t/updating-dashboard-on-a-raspi-zero/48367/1 "2021-07-13T15:46:25Z")

</div>

It fails with the following message:  
2021-07-13T13:44:18.530Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production node-red-dashboard@2.30.0  
2021-07-13T13:44:51.546Z [err] npm  
2021-07-13T13:44:51.608Z [err] WARN npm npm does not support Node.js v10.24.0  
2021-07-13T13:44:51.608Z [err] npm WARN npm You should probably upgrade to a newer version of node as we  
2021-07-13T13:44:51.608Z [err] npm WARN  
2021-07-13T13:44:51.645Z [err] npm can't make any promises that npm will work with this version.  
2021-07-13T13:44:51.645Z [err] npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.  
2021-07-13T13:44:51.645Z [err] npm WARN npm You can find the latest version at [https://nodejs.org/](https://nodejs.org/)  
2021-07-13T13:45:52.504Z [err] npm  
2021-07-13T13:45:52.506Z [err]  
2021-07-13T13:45:52.508Z [err] WARN  
2021-07-13T13:45:52.510Z [err]  
2021-07-13T13:45:52.537Z [err] registry Unexpected warning for [https://registry.npmjs.org/:](https://registry.npmjs.org/:) Miscellaneous Warning EAI\_AGAIN: request to [https://registry.npmjs.org/node-red-dashboard](https://registry.npmjs.org/node-red-dashboard) failed, reason: getaddrinfo EAI\_AGAIN [registry.npmjs.org](http://registry.npmjs.org) [registry.npmjs.org:443](http://registry.npmjs.org:443)  
2021-07-13T13:45:52.537Z [err] npm WARN registry Using stale package data from [https://registry.npmjs.org/](https://registry.npmjs.org/) due to a request error during revalidation.  
2021-07-13T13:45:54.492Z [err] npm  
2021-07-13T13:45:54.494Z [err]  
2021-07-13T13:45:54.496Z [err] ERR!  
2021-07-13T13:45:54.515Z [err] code ETARGET  
2021-07-13T13:45:54.743Z [err] npm  
2021-07-13T13:45:54.745Z [err]  
2021-07-13T13:45:54.747Z [err] ERR!  
2021-07-13T13:45:54.751Z [err] notarget No matching version found for node-red-dashboard@2.30.0  
2021-07-13T13:45:54.751Z [err] npm  
2021-07-13T13:45:54.753Z [err] ERR!  
2021-07-13T13:45:54.754Z [err]  
2021-07-13T13:45:54.756Z [err] notarget  
2021-07-13T13:45:54.761Z [err] In most cases you or one of your dependencies are requesting  
2021-07-13T13:45:54.761Z [err] npm ERR! notarget a package version that doesn't exist.  
2021-07-13T13:45:54.925Z [err]  
2021-07-13T13:45:54.931Z [err] npm  
2021-07-13T13:45:54.932Z [err]  
2021-07-13T13:45:54.934Z [err] ERR!  
2021-07-13T13:45:54.941Z [err] A complete log of this run can be found in:  
2021-07-13T13:45:54.941Z [err] npm ERR! /home/pi/.npm/\_logs/2021-07-13T13\_45\_54\_848Z-debug.log  
2021-07-13T13:45:55.019Z rc=1

Can someone please explain what that means and what must be done to correct that?

Thanks in advance!

---

<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:** [13 July 2021 16:28 UTC](https://discourse.nodered.org/t/updating-dashboard-on-a-raspi-zero/48367/2 "2021-07-13T16:28:57Z")

</div>

Most odd. Maybe a cache corruption ? Maybe run npm cache clean —force  
Then retry

---

<div class="post-metadata">

**Author:** ![alexander77](https://avatars.discourse-cdn.com/v4/letter/a/3ec8ea/32.png) [@alexander77](https://discourse.nodered.org/u/alexander77)\
**Post date:** [13 July 2021 16:49 UTC](https://discourse.nodered.org/t/updating-dashboard-on-a-raspi-zero/48367/3 "2021-07-13T16:49:08Z")

</div>

Looks like the node.js and npm are not compatible?  
pi@raspberrypi:~ $ npm cache clean --force  
npm WARN npm npm does not support Node.js v10.24.0  
npm WARN npm You should probably upgrade to a newer version of node as we  
npm WARN npm can't make any promises that npm will work with this version.  
npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.  
npm WARN npm You can find the latest version at [https://nodejs.org/](https://nodejs.org/)  
npm WARN using --force I sure hope you know what you are doing.

pi@raspberrypi:~ $ npm version  
npm WARN npm npm does not support Node.js v10.24.0  
npm WARN npm You should probably upgrade to a newer version of node as we  
npm WARN npm can't make any promises that npm will work with this version.  
npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.  
npm WARN npm You can find the latest version at [https://nodejs.org/](https://nodejs.org/)  
{ npm: '5.8.0',  
ares: '1.14.0',  
brotli: '1.0.7',  
cldr: '34.0',  
http\_parser: '2.9.4',  
icu: '63.1',  
modules: '64',  
napi: '7',  
nghttp2: '1.41.0',  
node: '10.24.0',  
openssl: '1.1.1d',  
tz: '2018e',  
unicode: '11.0',  
uv: '1.24.1',  
v8: '6.8.275.32-node.59',  
zlib: '1.2.11' }  
pi@raspberrypi:~ $

Last time i updated it i use the command  
bash \<(curl -sL [https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered](https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered))  
Are there other, better methodes to update?

---

<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:** [13 July 2021 17:15 UTC](https://discourse.nodered.org/t/updating-dashboard-on-a-raspi-zero/48367/4 "2021-07-13T17:15:34Z")

</div>

Several options 🙂  
You can install newer npm.  
sudo npm i -g npm@6  
Then retry  
Or re run the full install script latest version. And follow instructions to update node to 12 or 14. But if you have lots of extra nodes that talk to i2c or gpio I may advise against that for niw

---

<div class="post-metadata">

**Author:** ![alexander77](https://avatars.discourse-cdn.com/v4/letter/a/3ec8ea/32.png) [@alexander77](https://discourse.nodered.org/u/alexander77)\
**Post date:** [13 July 2021 18:08 UTC](https://discourse.nodered.org/t/updating-dashboard-on-a-raspi-zero/48367/5 "2021-07-13T18:08:08Z")

</div>

Oh yes, i use 6 i2c devices, so it might be better to wait a month or two and try it then again.

Thanks for the replies!

edit: typo

---

<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:** [13 July 2021 18:32 UTC](https://discourse.nodered.org/t/updating-dashboard-on-a-raspi-zero/48367/6 "2021-07-13T18:32:04Z")

</div>

I would update npm as above then. Retry. Just don’t update nodejs

---

<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:** [11 September 2021 18:32 UTC](https://discourse.nodered.org/t/updating-dashboard-on-a-raspi-zero/48367/7 "2021-09-11T18:32:55Z")

</div>

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