Ich kann keine Module (Knoten) in installierenNode-RED auf Hassio läuft auf einem Raspberry Pi. Es hat früher funktioniert, aber jetzt nicht. Ich habe keine Konfiguration geändert, obwohl es möglich ist, dass Node-Red automatisch aktualisiert wird. Wenn ich versuche zu installieren, erhalte ich folgende Fehlermeldung:
npm info it worked if it ends with ok
npm info using npm@5.6.0
npm info using node@v10.0.0
npm ERR! code ENOTFOUND
npm ERR! errno ENOTFOUND
npm ERR! network request to https://registry.npmjs.org/node-red-contrib-telegrambot-home failed, reason: getaddrinfo ENOTFOUND registry.npmjs.org registry.npmjs.org:443
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network "proxy" config is set properly. See: "npm help config"
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2018-04-30T01_39_51_895Z-debug.log
Es gibt keinen Proxy. Ich habe versucht zu bearbeiten package.json
die module zu abhängigkeiten hinzuzufügen hat aber auch nicht geklappt.
Antworten:
0 für die Antwort № 1Es war ein DNS-Problem. Pi-Hole lief auch auf dem RPi und verursachte das Problem. Stellen Sie DNS mit auf Google ein diese Info.