Dashboard install error

Hi,
I am trying to install the dashboard nodes and I always get an error message. The LOG entry looks like this:

0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli '/usr/bin/node',
1 verbose cli '/usr/bin/npm',
1 verbose cli 'install',
1 verbose cli '--no-audit',
1 verbose cli '--no-update-notifier',
1 verbose cli '--no-fund',
1 verbose cli '--save',
1 verbose cli '--save-prefix=~',
1 verbose cli '--production',
1 verbose cli 'node-red-dashboard@2.27.0'
1 verbose cli ]
2 info using npm@6.14.11
3 info using node@v12.20.1
4 verbose npm-session 3e66c5f0a87c1532
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 warn registry Unexpected warning for https://registry.npmjs.org/: Miscellaneous Warning ENODATA: Cache input stream was empty
8 warn registry Using stale data from https://registry.npmjs.org/ due to a request error during revalidation.
9 silly fetchPackageMetaData error for node-red-dashboard@2.27.0 Invalid response body while trying to fetch https://registry.npmjs.org/node-red-dashboard: Integrity verification failed for sha512-G4gdsfq3x366pryl76BSCdhxs/ZBmT617NrBJRRBe1mnKzm2PLqWHwIXfMOpOL8Zq346v7wQ2LmFyDRl3d3TmQ== (/home/pi/.npm/_cacache/content-v2/sha512/1b/88/1db1fab7c77ebaa6bca5efa05209d871b3f641993eb5ecdac12514417b59a72b39b63cba961f02177cc3a938bf19ab7e3abfbc10d8b985c83465ddddd399)
10 timing stage:rollbackFailedOptional Completed in 2ms
11 timing stage:runTopLevelLifecycles Completed in 378ms
12 verbose type system
13 verbose stack FetchError: Invalid response body while trying to fetch https://registry.npmjs.org/node-red-dashboard: Integrity verification failed for sha512-G4gdsfq3x366pryl76BSCdhxs/ZBmT617NrBJRRBe1mnKzm2PLqWHwIXfMOpOL8Zq346v7wQ2LmFyDRl3d3TmQ== (/home/pi/.npm/_cacache/content-v2/sha512/1b/88/1db1fab7c77ebaa6bca5efa05209d871b3f641993eb5ecdac12514417b59a72b39b63cba961f02177cc3a938bf19ab7e3abfbc10d8b985c83465ddddd399)
13 verbose stack at Readable. (/usr/lib/node_modules/npm/node_modules/node-fetch-npm/src/body.js:195:14)
13 verbose stack at Readable.emit (events.js:314:20)
13 verbose stack at /usr/lib/node_modules/npm/node_modules/make-fetch-happen/cache.js:92:30
13 verbose stack at tryCatcher (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/util.js:16:23)
13 verbose stack at Promise._settlePromiseFromHandler (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:517:31)
13 verbose stack at Promise._settlePromise (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:574:18)
13 verbose stack at Promise._settlePromise0 (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:619:10)
13 verbose stack at Promise._settlePromises (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:695:18)
13 verbose stack at _drainQueueStep (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:138:12)
13 verbose stack at _drainQueue (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:131:9)
13 verbose stack at Async._drainQueues (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:147:5)
13 verbose stack at Immediate.Async.drainQueues (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:17:14)
13 verbose stack at processImmediate (internal/timers.js:461:21)
14 verbose cwd /home/pi/.node-red
15 verbose Linux 5.4.83-v7l+
16 verbose argv "/usr/bin/node" "/usr/bin/npm" "install" "--no-audit" "--no-update-notifier" "--no-fund" "--save" "--save-prefix=~" "--production" "node-red-dashboard@2.27.0"
17 verbose node v12.20.1
18 verbose npm v6.14.11
19 error code EINTEGRITY
20 error errno EINTEGRITY
21 error Invalid response body while trying to fetch https://registry.npmjs.org/node-red-dashboard: Integrity verification failed for sha512-G4gdsfq3x366pryl76BSCdhxs/ZBmT617NrBJRRBe1mnKzm2PLqWHwIXfMOpOL8Zq346v7wQ2LmFyDRl3d3TmQ== (/home/pi/.npm/_cacache/content-v2/sha512/1b/88/1db1fab7c77ebaa6bca5efa05209d871b3f641993eb5ecdac12514417b59a72b39b63cba961f02177cc3a938bf19ab7e3abfbc10d8b985c83465ddddd399)
22 verbose exit [ 1, true ]

Does anyone have a solution for me.

looks like either your internet connection or npm is having a wobbly. You can try npm cache verify locally and if that shows any errors do an npm cache clean --force - to clean up the local cache - but as I say it may be the network connection also.

Hi dceejay,
thank you, for your support,
I clean the local cache and after that, I can install the dashboard.
Ralf

1 Like

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