Impossible to install Dasboard


I try to install Node red Dasboard from Palette but there's an erroe message "failed to install".
That's the message , (sorry for my english i m french):

2020-09-13T12:46:49.195Z Install : node-red-dashboard 2.23.3

2020-09-13T12:46:49.286Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix="~" --production node-red-dashboard@2.23.3
2020-09-13T12:47:06.975Z [err] npm
2020-09-13T12:47:06.976Z [err] WARN registry Unexpected warning for Miscellaneous Warning ENODATA: Cache input stream was empty
2020-09-13T12:47:06.976Z [err] npm WARN registry Using stale data from due to a request error during revalidation.
2020-09-13T12:47:07.773Z [err] npm ERR! code EINTEGRITY
2020-09-13T12:47:07.773Z [err] npm ERR! errno EINTEGRITY
2020-09-13T12:47:07.785Z [err] npm
2020-09-13T12:47:07.786Z [err] ERR! Invalid response body while trying to fetch

Have you an idea please??

this is the second part: Integrity verification failed for sha512-P0Xl75/i/ONW88P6UKJl3d9M4tx71qYEz1xcLSqAR7o1NqBLpaJZNJDtodiHYtoryC/gqBuDcjnymRvRt3+9zQ== (/home/pi/.npm/_cacache/content-v2/sha512/3f/45/e5ef9fe2fce356f3c3fa50a265dddf4ce2dc7bd6a604cf5c5c2d2a8047ba3536a04ba5a2593490eda1d88762da2bc82fe0a81b837239f2991bd1b77fbdcd)
2020-09-13T12:47:07.809Z [err]
2020-09-13T12:47:07.810Z [err] npm ERR! A complete log of this run can be found in:
2020-09-13T12:47:07.810Z [err] npm ERR! /home/pi/.npm/_logs/2020-09-13T12_47_07_791Z-debug.log
2020-09-13T12:47:07.834Z rc=1

I ve forgot to tell, it s on rasperry Pi4

That is possibly a problem with the npmjs website. Try again and see if it is ok now. If not then your npm cache may have been messed up by the problem. Go to your .node-red directory and run
npm cache clean --force
npm -g cache clean --force
and try again.

Hello Colin,

Thank you for your help! I ve already tried this command yesterday:
npm cache clean --force
and it didnt work.
But this command is ok!!:
npm -g cache clean --force
Thank you very much, IIcouldn't solve this problem for weeks!
have a good weekend! :slightly_smiling_face:

1 Like

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