thkl / hap-homematic

a AddOn for HomeMatic CCU3 (Raspberrymatic) that will bring HomeKit to your CCU
MIT License
221 stars 25 forks source link

npm warnings during installation with debmatic.sh #492

Open 011V32 opened 3 years ago

011V32 commented 3 years ago

Please describe your problem npm warnings during installation with debmatic.sh

What happends grafik

pi@raspberrypi:~ $ curl -sL https://raw.githubusercontent.com/thkl/hap-homematic/master/doc/debmatic.sh | bash -

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

## Populating apt-get cache...

+ apt-get update
OK:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
Holen:2 http://archive.raspberrypi.org/debian buster InRelease [32,6 kB]
OK:3 https://deb.nodesource.com/node_14.x buster InRelease
OK:4 https://www.debmatic.de/debmatic stable InRelease
Holen:5 http://archive.raspberrypi.org/debian buster/main armhf Packages [393 kB]
Es wurden 425 kB in 1 s geholt (305 kB/s).
Paketlisten werden gelesen... Fertig

## Confirming "buster" is supported...

+ curl -sLf -o /dev/null 'https://deb.nodesource.com/node_14.x/dists/buster/Release'

## Adding the NodeSource signing key to your keyring...

+ curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | gpg --dearmor | tee /usr/share/keyrings/nodesource.gpg >/dev/null
gpg: WARNUNG: Unsicheres Besitzverhältnis des Home-Verzeichnis `/home/pi/.gnupg'

## Creating apt sources list file for the NodeSource Node.js 14.x repo...

+ echo 'deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_14.x buster main' > /etc/apt/sources.list.d/nodesource.list
+ echo 'deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_14.x buster main' >> /etc/apt/sources.list.d/nodesource.list

## Running `apt-get update` for you...

+ apt-get update
OK:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
OK:2 https://deb.nodesource.com/node_14.x buster InRelease
OK:3 http://archive.raspberrypi.org/debian buster InRelease
OK:4 https://www.debmatic.de/debmatic stable InRelease
Paketlisten werden gelesen... Fertig

## Run `sudo apt-get install -y nodejs` to install Node.js 14.x and npm
## You may also need development tools to build native addons:
     sudo apt-get install gcc g++ make
## To install the Yarn package manager, run:
     curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev/null
     echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
     sudo apt-get update && sudo apt-get install yarn

Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
nodejs ist schon die neueste Version (14.18.1-deb-1nodesource1).
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
npm WARN saveError ENOENT: no such file or directory, open '/home/pi/hap-homematic/package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open '/home/pi/hap-homematic/package.json'
npm WARN hap-homematic No description
npm WARN hap-homematic No repository field.
npm WARN hap-homematic No README data
npm WARN hap-homematic No license field.

+ hap-homematic@0.0.63
added 129 packages from 104 contributors and audited 129 packages in 30.779s

46 packages are looking for funding
  run `npm fund` for details

found 1 low severity vulnerability
  run `npm audit fix` to fix them, or `npm audit` for details

   ╭───────────────────────────────────────────────────────────────╮
   │                                                               │
   │      New major version of npm available! 6.14.11 → 7.8.0      │
   │   Changelog: https://github.com/npm/cli/releases/tag/v7.8.0   │
   │               Run npm install -g npm to update!               │
   │                                                               │
   ╰───────────────────────────────────────────────────────────────╯

rm: das Entfernen von '/home/pi/hap-homematic/hap-homematic.service' ist nicht möglich: Datei oder Verzeichnis nicht gefunden
Created symlink /etc/systemd/system/hap-homematic.service → /home/pi/hap-homematic/hap-homematic.service.
Created symlink /etc/systemd/system/multi-user.target.wants/hap-homematic.service → /home/pi/hap-homematic/hap-homematic.service.
pi@raspberrypi:~ $ ^C
pi@raspberrypi:~ $

What should be happend No warnings

Steps to reproduce this issue

ChrWi commented 1 year ago

@thkl siehst du hier eine Aktion?