NEWS
Fehler bei Adapter Installation
-
Ich habe meinen NodeRed Adapter gelöscht, da ich Fehlermeldungen hatte. Nun wollte ich ihn wieder als Adapter installieren und bekomme folgende Fehlermeldung:
$ ./iobroker add node-red --host raspberrypi NPM version: 6.14.10 npm install iobroker.node-red@2.0.1 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call) npm ERR! code EINTEGRITYnpm ERR! errno EINTEGRITY npm ERR! Invalid response body while trying to fetch https://registry.npmjs.org/nopt: Integrity verification failed for sha512-rMpEcBCRE4Gg6lkwHVyyGZ6UVINmrXbUzeOr0GlL8ElM5ZGmo6BjkHiwQf4hXwUS26hB7wFq4Cs8nSa6eyoUHw== (/home/iobroker/.npm/_cacache/content-v2/sha512/ac/ca/447010911381a0ea59301d5cb2199e94548366ad76d4cde3abd0694bf0494ce591a6a3a0639078b041fe215f0512dba841ef016ae02b3c9d26ba7b2a141f) npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2020-12-25T12_51_29_456Z-debug.log ERROR: host.raspberrypi Cannot install iobroker.node-red@2.0.1: 1 ERROR: process exited with code 25
MOD-Edit: Code in code-tags gesetzt!
Was kann ich tun?
-
cd /opt/iobroker npm clear cache --force
Und bitte mal die node-Installation prüfen:
which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
-
@Thomas-Braun said in Fehler bei Adapter Installation:
cd /opt/iobroker npm clear cache --force
Und bitte mal die node-Installation prüfen:
which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
PERFEKT! herzlichen Dank!
-
@bluppdiwupp node ist sauber?
Bitte mal die Ausgabe bekannt geben. -
@Thomas-Braun said in Fehler bei Adapter Installation:
@bluppdiwupp node ist sauber?
Bitte mal die Ausgabe bekannt geben.Leider ist der Fehler wieder vorhanden. Eine Neuinstallation ist wieder nicht mehr möglich.
pi@raspberrypi:~ $ cd /opt/iobroker pi@raspberrypi:/opt/iobroker $ npm clear cache --force npm WARN using --force I sure hope you know what you are doing. Usage: npm <command> where <command> is one of: access, adduser, audit, bin, bugs, c, cache, ci, cit, clean-install, clean-install-test, completion, config, create, ddp, dedupe, deprecate, dist-tag, docs, doctor, edit, explore, fund, get, help, help-search, hook, i, init, install, install-ci-test, install-test, it, link, list, ln, login, logout, ls, org, outdated, owner, pack, ping, prefix, profile, prune, publish, rb, rebuild, repo, restart, root, run, run-script, s, se, search, set, shrinkwrap, star, stars, start, stop, t, team, test, token, tst, un, uninstall, unpublish, unstar, up, update, v, version, view, whoami npm <command> -h quick help on <command> npm -l display full usage info npm help <term> search for help on <term> npm help npm involved overview Specify configs in the ini-formatted file: /home/iobroker/.npmrc or on the command line via: npm <command> --key value Config info can be viewed via: npm help config npm@6.14.10 /usr/lib/node_modules/npm pi@raspberrypi:/opt/iobroker $ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt polic y nodejs /usr/bin/nodejs v12.20.0 /usr/bin/node v12.20.0 /usr/bin/npm 6.14.10 nodejs: Installiert: 12.20.0-1nodesource1 Installationskandidat: 12.20.0-1nodesource1 Versionstabelle: *** 12.20.0-1nodesource1 500 500 https://deb.nodesource.com/node_12.x buster/main armhf Packages 100 /var/lib/dpkg/status pi@raspberrypi:/opt/iobroker $
-
@bluppdiwupp Bitte Konsolentext in CodeTags setzen. Dann kann man das besser lesen.
-
cd /opt/iobroker npm cache clear --force
-
@Thomas-Braun sagte in Fehler bei Adapter Installation:
cd /opt/iobroker npm cache clear --force
nope:
npm cache clean --force
streiche
r
, setzen
-
@Homoran Beides geht.
Last login: Sun Dec 27 11:08:32 2020 from 192.168.178.22 pi@raspberrypi:~ $ cd /opt/iobroker/ pi@raspberrypi:/opt/iobroker $ npm cache clear --force npm WARN using --force Recommended protections disabled. pi@raspberrypi:/opt/iobroker $
-