node 13 wird nicht richtig installiert (für Google Assistant FHEM Connect)

Begonnen von Fleurelle, 27 September 2020, 16:55:32

Vorheriges Thema - Nächstes Thema

Fleurelle

Hallöchen,

möchte gerne fhem mit google verbinden. Habe gemäß der Anleitung https://wiki.fhem.de/wiki/Google_Assistant_FHEM_Connect
gearbeitet. Wenn ich gassistant installieren will, kommt die Fehlermelung:
pi@raspberrypi:~ $  sudo: npm: command not found
-bash: sudo:: command not found


Scheint am node zu liegen.
Hab es nochmals installiert. Folgende Meldung:

pi@raspberrypi:~ $ curl -sL https://deb.nodesource.com/setup_13.x | sudo -E bash -

================================================================================
================================================================================

                              DEPRECATION WARNING

  Node.js 13.x is no longer actively supported!

  You will not receive security or critical stability updates for this version.

  You should migrate to a supported version of Node.js as soon as possible.
  Use the installation script that corresponds to the version of Node.js you
  wish to install. e.g.

   * https://deb.nodesource.com/setup_10.x — Node.js 10 LTS "Dubnium"
   * https://deb.nodesource.com/setup_12.x — Node.js 12 LTS "Erbium" (recommended)
   * https://deb.nodesource.com/setup_14.x — Node.js 14 LTS "Fermium"

  Please see https://github.com/nodejs/Release for details about which
  version may be appropriate for you.

  The NodeSource Node.js distributions repository contains
  information both about supported versions of Node.js and supported Linux
  distributions. To learn more about usage, see the repository:
    https://github.com/nodesource/distributions

================================================================================
================================================================================

Continuing in 20 seconds ...


## Installing the NodeSource Node.js 13.x repo...


## Populating apt-get cache...

+ apt-get update
Hit http://mirrordirector.raspbian.org jessie InRelease
Hit http://archive.raspberrypi.org jessie InRelease
Get:1 https://debian.fhem.de ./ InRelease
Ign https://debian.fhem.de ./ InRelease
Get:2 https://debian.fhem.de ./ Release.gpg
Ign https://debian.fhem.de ./ Release.gpg
Get:3 https://debian.fhem.de ./ Release
Ign https://debian.fhem.de ./ Release
Hit http://archive.raspberrypi.org jessie/main armhf Packages
Hit http://archive.raspberrypi.org jessie/ui armhf Packages
Get:4 https://debian.fhem.de ./ Packages
Hit http://mirrordirector.raspbian.org jessie/main armhf Packages
Hit http://mirrordirector.raspbian.org jessie/contrib armhf Packages
Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages
Get:5 https://debian.fhem.de ./ Translation-en
Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages
Get:6 https://debian.fhem.de ./ Packages
Ign http://archive.raspberrypi.org jessie/main Translation-en
Get:7 https://debian.fhem.de ./ Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-en
Get:8 https://debian.fhem.de ./ Packages
Get:9 https://debian.fhem.de ./ Translation-en
Get:10 https://debian.fhem.de ./ Packages
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
Ign http://mirrordirector.raspbian.org jessie/main Translation-en
Get:11 https://debian.fhem.de ./ Translation-en
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
Get:12 https://debian.fhem.de ./ Packages
Err https://debian.fhem.de ./ Packages
  HttpError403
Get:13 https://debian.fhem.de ./ Translation-en
Ign https://debian.fhem.de ./ Translation-en
W: Failed to fetch https://debian.fhem.de/stable/./Packages  HttpError403

E: Some index files failed to download. They have been ignored, or old ones used instead.
Error executing command, exiting

pi@raspberrypi:~ $ sudo apt install -y nodejs
Reading package lists... Done
Building dependency tree
Reading state information... Done
nodejs is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 188 not upgraded.
pi@raspberrypi:~ $ sudo npm install -g gassistant-fhem --unsafe-perm
sudo: npm: command not found

Hat nichts geholfen, wie man sieht. Was mache ich falsch?

Vielen lieben Dank im Voraus!

Libe Grüße
Fleurelle

MadMax-FHEM

Naja: Jessie...

Danach war Stretch (wird noch supported) und aktuell (schon ne Weile) ist Buster!

Ich schätze (nicht nur wegen node) es wird Zeit auf Buster zu gehen...

Und: ich würde neu aufsetzen, weil sich zwischen Jessie und Stretch der "Unterbau" geändert hat...

EDIT: 188 not upgraded und die werden wohl auch so bleiben, bei Jessie gibt es wohl keine Paketquellen mehr...

Gruß, Joachim
FHEM PI3B+ Bullseye: HM-CFG-USB, 40x HM, ZWave-USB, 13x ZWave, EnOcean-PI, 15x EnOcean, HUE/deCONZ, CO2, ESP-Multisensor, Shelly, alexa-fhem, ...
FHEM PI2 Buster: HM-CFG-USB, 25x HM, ZWave-USB, 4x ZWave, EnOcean-PI, 3x EnOcean, Shelly, ha-bridge, ...
FHEM PI3 Buster (Test)

Fleurelle

Vielen Dank MadMax-FHEM,  :D

habe mir gerade eine neue raspi bestellt. Dann wird die Hardware auch gleich mal mit aktualisiert.   ;)

Liebe Grüße
Fleurelle