Neues Frontend: FhemNative Updates

Begonnen von Syrex-o, 16 Juli 2019, 14:50:24

Vorheriges Thema - Nächstes Thema

Syrex-o

Zitat von: Thyraz am 07 September 2020, 12:04:57
Um auf meinen obigen Post nochmal einzugehen:Ist ja kein Beinbruch. Die paar HTTP Requests tun ja nicht weh.

Das sehe ich ein bisschen anders.
Am liebsten würde ich natürlich alle Anfragen direkt nacheinander absenden. Das Ergebnis kann ich dann aber eventuell nicht mehr der Anfrage zuordnen (wenn die Ergebnisse nicht nacheinander abgearbeitet werden.)
Also müsste man für jede Anfrage erst auf die Antwort warten (unschön).

Grafana oder fertige Charts anzuzapfen klingt da besser.

Thyraz

#466
Zitat von: ch.eick am 25 Juli 2020, 16:02:11
Hallo Syrex-o,
läuft FhemNative auch auf nem iPad ? Ich habe da leider kein Package gefunden und wir haben leider nur gewonnene iPads im Haus :-)

https://forum.fhem.de/index.php/topic,110499.msg1046045.html#msg1046045

Gruß Christian

Btw. weil ich das gerade weiter oben gelesen habe:
Hat FhemNative eigentlich besondere "native" Funktionalitäten die man vermissen würde, wenn man es als WebApp compiliert?


Hab das eben kompiliert und mal auf dem iPhone getestet.

Kann problemlos Devices hinzufügen und steuern.
Und wenn man es als WebApp auf den Homescreen hinzufügt läuft es auch Fullscreen ohne Browserleisten.

Damit umgeht man zumindest mal die Zertifikat- und Zeitbegrenzung (wenn man kein zahlender Apple Developer ist).
Fhem und MariaDB auf NUC6i5SYH in Proxmox Container (Ubuntu)
Zwave, Conbee II, Hue, Harmony, Solo4k, LaMetric, Echo, Sonos, Roborock S5, Nuki, Prusa Mini, Doorbird, ...

Thyraz

Zitat von: Syrex-o am 07 September 2020, 12:12:28
Das sehe ich ein bisschen anders.
Am liebsten würde ich natürlich alle Anfragen direkt nacheinander absenden. Das Ergebnis kann ich dann aber eventuell nicht mehr der Anfrage zuordnen (wenn die Ergebnisse nicht nacheinander abgearbeitet werden.)
Also müsste man für jede Anfrage erst auf die Antwort warten (unschön).

Grafana oder fertige Charts anzuzapfen klingt da besser.

Du bekommst schon einen Header zurück mit der DevSpec die du als Anfrage geschickt hast.
Man kann also schon zuordnen welche Response wofür ist.

Und mit Observables in Angular kannst du das ja an sich alles beim Requesten schön splitten, alle Antworten abwarten, erst dann wieder mergen usw.
Fhem und MariaDB auf NUC6i5SYH in Proxmox Container (Ubuntu)
Zwave, Conbee II, Hue, Harmony, Solo4k, LaMetric, Echo, Sonos, Roborock S5, Nuki, Prusa Mini, Doorbird, ...

Syrex-o

Zitat von: Thyraz am 07 September 2020, 12:17:49
Btw. weil ich das gerade weiter oben gelesen habe:
Hat FhemNative eigentlich besondere "native" Funktionalitäten die man vermissen würde, wenn man es als WebApp compiliert?


Hab das eben kompiliert und mal auf dem iPhone getestet.

Kann problemlos Devices hinzufügen und steuern.
Und wenn man es als WebApp auf den Homescreen hinzufügt läuft es auch Fullscreen ohne Browserleisten.

Damit umgeht man zumindest mal die Zertifikat- und Zeitbegrenzung (wenn man kein zahlender Apple Developer ist).

Native Funktionen sind aktuell:

  • Vibration
  • Sound

Kommen soll dann Lautstärke Tasten. Wobei das wohl nur bei Android geht.
Bei dem Thema nehme ich aber gern Input an.

ZitatDu bekommst schon einen Header zurück mit der DevSpec die du als Anfrage geschickt hast.
Muss ich mir mal angucken. Dann sehe ich kein Problem.


Syrex-o

Update: FhemNative 2.6.3

Hallo zusammen,

Wie bereits angekündigt, kommt version 2.6.3 noch per GitHub.
Version 2.6.4 wird dann in den Store kommen. Diesen Thread halte ich jedoch trotzdem aktuell. Ich hoffe so die Diskussionen hier her verlagern zu können.

Es wurden für 2.6.3 vor allem eure Wünsche umgesetzt und Bugs behoben.

Ich hoffe das Update macht wieder Freude.

Beste Grüße
Euer Syrex-o

grossmaggul

Hallo,

ich stehe gerade auf dem Schlauch, woher bekomme ich denn die fertig kompilierten Apps für Mac, Windows, Android? Ich finde nur die Sourcen im Github.

gm

FHEM auf Debian Buster Server, 2 x nanoCUL868, 1xnanoCUL465; Homematic, MAX, MiLight, HUE,  2 x Gosund SP1

Esjay

Zitat von: grossmaggul am 08 Oktober 2020, 09:59:40
Hallo,

ich stehe gerade auf dem Schlauch, woher bekomme ich denn die fertig kompilierten Apps für Mac, Windows, Android? Ich finde nur die Sourcen im Github.

gm

Schau mal hier

https://github.com/Syrex-o/FhemNative/releases

Wenn du auf der Github Seite bist, findest du am rechten Rand den Punkt Release.

Grüße

grossmaggul

Oh Mann, danke, habe ich nicht gesehen.
Könnte m.M.n auch ein wenig auffälliger sein.
FHEM auf Debian Buster Server, 2 x nanoCUL868, 1xnanoCUL465; Homematic, MAX, MiLight, HUE,  2 x Gosund SP1

Syrex-o

Zitat von: grossmaggul am 08 Oktober 2020, 10:52:14
Oh Mann, danke, habe ich nicht gesehen.
Könnte m.M.n auch ein wenig auffälliger sein.

Das stimmt. Hoffentlich wird das alles besser, wenn der Store angebunden ist.

Sonst, in der App Update suche einschalten.

Beste Grüße

australien

Hallo zusammen,

ich hab mich nun schon ein paar Stunden mit dem native beschäftigt, in der Theorie. Aber was ich nicht finden konnte, wie kann ich das auf dem IPhone  bzw IPad verwenden? Oder kann ich es nur nicht lesen?

Danke für eure Hilfe
raspberry pi3
signalduino, Shelly1, Shelly2, Sonos, Unifi
Amazon Fire Tablet 7 | Noname Android Tablet 10"

ch.eick

RPI4; Docker; CUNX; Eltako FSB61NP; SamsungTV H-Serie; Sonos; Vallox; Luxtronik; 3x FB7490; Stromzähler mit DvLIR; wunderground; Plenticore 10 mit BYD; EM410; SMAEM; Modbus TCP
Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/ch.eick

Thyraz

#476
Oder als PWA (Web App) kompilieren und auf nem Webserver auf dem FHEM Rechner hosten:
https://forum.fhem.de/index.php/topic,105930.0.html

Gegenüber einer nativen App, sollte man im Moment nur Vibration und Soundausgaben nicht nutzen können.

edit: Für einen schnellen Test:
Anleitung aus obigem Link befolgen und wie dort in 4c) beschrieben die Web App erstellen (also das www Verzeichnis)

Dann im Root Verzeichnis von FhemNative (dort wo das www Verzeichnis erstellt wurde) eine Datei server.js anlegen und das hier reinkopieren:


// Setup
const express = require('express');
const app = express();
const path = require('path');

app.use(express.json());
app.use(express.urlencoded({ extended: false }));

app.use(express.static(path.join(__dirname, 'www'))); // Static path to compiled Ionic app

// Catch all other routes and return the index file from Ionic app
app.get('*', (req, res) => {
    res.sendFile(path.join(__dirname, 'www/index.html'));
});

// listen (start app with 'node server.js')
app.listen(8300);
console.log("App listening on port 8300");


Danach mit

node server.js

die Webapp mit NodeJS starten und mit einem Browser auf einem deiner Endgeräte http://ip.des.rechners.mitfhemnative:8300 aufrufen.
Fhem und MariaDB auf NUC6i5SYH in Proxmox Container (Ubuntu)
Zwave, Conbee II, Hue, Harmony, Solo4k, LaMetric, Echo, Sonos, Roborock S5, Nuki, Prusa Mini, Doorbird, ...

australien

#477
Danke für den Tip, leider wird das nichts:

pi@raspberrypi-fhem:~/FhemNative/Development/FhemNative $ sudo npm install
npm WARN @fortawesome/angular-fontawesome@0.6.1 requires a peer of @angular/core@^9.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN angular2-hotkeys@2.2.0 requires a peer of @angular/core@^5.2.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN codelyzer@5.2.2 requires a peer of @angular/compiler@>=2.3.1 <10.0.0 || >9.0.0-beta <10.0.0 || >9.1.0-beta <10.0.0 || >9.2.0-beta <10.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN codelyzer@5.2.2 requires a peer of @angular/core@>=2.3.1 <10.0.0 || >9.0.0-beta <10.0.0 || >9.1.0-beta <10.0.0 || >9.2.0-beta <10.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN karma-jasmine-html-reporter@1.5.3 requires a peer of jasmine-core@>=3.5 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/watchpack-chokidar2/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/webpack-dev-server/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})

audited 2224 packages in 89.975s

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

found 0 vulnerabilities


bei Punke 4b kommt folgendes:

pi@raspberrypi-fhem:~/FhemNative/Development/FhemNative $ sudo npm run electron:linux

> FhemNative@2.6.3 electron:linux /home/pi/FhemNative/Development/FhemNative
> npm run build:electron:prod && npx electron-builder build --linux


> FhemNative@2.6.3 build:electron:prod /home/pi/FhemNative/Development/FhemNative
> npm run build:electron -- -c production


> FhemNative@2.6.3 build:electron /home/pi/FhemNative/Development/FhemNative
> ng build --base-href ./ "-c" "production"

Error: Lock found, but no process with PID 4119 seems to be running.
(If you are sure no ngcc process is running then you should delete the lock-file at /home/pi/FhemNative/Development/FhemNative/node_modules/@angular/compiler-cli/ngcc/__ngcc_lock_file__.)
    at new TimeoutError (/home/pi/FhemNative/Development/FhemNative/node_modules/@angular/compiler-cli/ngcc/src/locking/async_locker.js:18:51)
    at AsyncLocker.<anonymous> (/home/pi/FhemNative/Development/FhemNative/node_modules/@angular/compiler-cli/ngcc/src/locking/async_locker.js:111:47)
    at step (/home/pi/FhemNative/Development/FhemNative/node_modules/@angular/compiler-cli/node_modules/tslib/tslib.js:140:27)
    at Object.next (/home/pi/FhemNative/Development/FhemNative/node_modules/@angular/compiler-cli/node_modules/tslib/tslib.js:121:57)
    at /home/pi/FhemNative/Development/FhemNative/node_modules/@angular/compiler-cli/node_modules/tslib/tslib.js:114:75
    at new Promise (<anonymous>)
    at Object.__awaiter (/home/pi/FhemNative/Development/FhemNative/node_modules/@angular/compiler-cli/node_modules/tslib/tslib.js:110:16)
    at AsyncLocker.create (/home/pi/FhemNative/Development/FhemNative/node_modules/@angular/compiler-cli/ngcc/src/locking/async_locker.js:68:28)
    at AsyncLocker.<anonymous> (/home/pi/FhemNative/Development/FhemNative/node_modules/@angular/compiler-cli/ngcc/src/locking/async_locker.js:51:59)
    at step (/home/pi/FhemNative/Development/FhemNative/node_modules/@angular/compiler-cli/node_modules/tslib/tslib.js:140:27)
An unhandled exception occurred: NGCC failed.
See "/tmp/ng-8qyvTX/angular-errors.log" for further details.
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! FhemNative@2.6.3 build:electron: `ng build --base-href ./ "-c" "production"`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the FhemNative@2.6.3 build:electron script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-10-14T08_41_32_847Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! FhemNative@2.6.3 build:electron:prod: `npm run build:electron -- -c production`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the FhemNative@2.6.3 build:electron:prod script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-10-14T08_41_32_976Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! FhemNative@2.6.3 electron:linux: `npm run build:electron:prod && npx electron-builder build --linux`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the FhemNative@2.6.3 electron:linux script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-10-14T08_41_33_087Z-debug.log
pi@raspberrypi-fhem:~/FhemNative/Development/FhemNative $


das besagte log zeigt:
[error] Error: NGCC failed.
    at NgccProcessor.process (/home/pi/FhemNative/Development/FhemNative/node_modules/@ngtools/webpack/src/ngcc_processor.js:119:19)
    at /home/pi/FhemNative/Development/FhemNative/node_modules/@ngtools/webpack/src/angular_compiler_plugin.js:590:31
    at SyncHook.eval [as call] (eval at create (/home/pi/FhemNative/Development/FhemNative/node_modules/tapable/lib/HookCodeFactory.js:19:10), <anonymous>:7:1)
    at SyncHook.lazyCompileHook (/home/pi/FhemNative/Development/FhemNative/node_modules/tapable/lib/Hook.js:154:20)
    at Object.webpack [as webpackFactory] (/home/pi/FhemNative/Development/FhemNative/node_modules/webpack/lib/webpack.js:55:30)
    at createWebpack (/home/pi/FhemNative/Development/FhemNative/node_modules/@angular-devkit/build-webpack/src/webpack/index.js:20:36)
    at Object.runWebpack (/home/pi/FhemNative/Development/FhemNative/node_modules/@angular-devkit/build-webpack/src/webpack/index.js:34:12)
    at SwitchMapSubscriber.project (/home/pi/FhemNative/Development/FhemNative/node_modules/@angular-devkit/build-angular/src/browser/index.js:142:32)
    at SwitchMapSubscriber._next (/home/pi/FhemNative/Development/FhemNative/node_modules/@angular-devkit/build-angular/node_modules/rxjs/internal/operators/switchMap.js:47:27)
    at SwitchMapSubscriber.Subscriber.next (/home/pi/FhemNative/Development/FhemNative/node_modules/@angular-devkit/build-angular/node_modules/rxjs/internal/Subscriber.js:66:18)
    at /home/pi/FhemNative/Development/FhemNative/node_modules/@angular-devkit/build-angular/node_modules/rxjs/internal/util/subscribeToPromise.js:7:24

raspberry pi3
signalduino, Shelly1, Shelly2, Sonos, Unifi
Amazon Fire Tablet 7 | Noname Android Tablet 10"

Thyraz

Ich hab ja auch 4c) geschrieben (oder gerade kurz fies rein editiert ;D).

Falls da auch Fehler kommen nochmal das Log dazu zeigen.
Fhem und MariaDB auf NUC6i5SYH in Proxmox Container (Ubuntu)
Zwave, Conbee II, Hue, Harmony, Solo4k, LaMetric, Echo, Sonos, Roborock S5, Nuki, Prusa Mini, Doorbird, ...

australien

#479
ok 4c, aber das Problem beginnt schon vorher.
as mache ich mit dne WARN?

pi@raspberrypi-fhem:~/FhemNative/Development/FhemNative $ sudo npm install
npm WARN @angular/animations@10.1.3 requires a peer of @angular/core@10.1.3 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/cdk@10.2.2 requires a peer of @angular/core@^10.0.0 || ^11.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/common@10.1.3 requires a peer of @angular/core@10.1.3 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/forms@10.1.3 requires a peer of @angular/core@10.1.3 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/material@10.2.2 requires a peer of @angular/core@^10.0.0 || ^11.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/platform-browser@10.1.3 requires a peer of @angular/core@10.1.3 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/platform-browser-dynamic@10.1.3 requires a peer of @angular/core@10.1.3 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/router@10.1.3 requires a peer of @angular/core@10.1.3 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/service-worker@10.1.3 requires a peer of @angular/core@10.1.3 but none is installed. You must install peer dependencies yourself.
npm WARN codelyzer@5.2.2 requires a peer of @angular/compiler@>=2.3.1 <10.0.0 || >9.0.0-beta <10.0.0 || >9.1.0-beta <10.0.0 || >9.2.0-beta <10.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN karma-jasmine-html-reporter@1.5.3 requires a peer of jasmine-core@>=3.5 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/watchpack-chokidar2/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/webpack-dev-server/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})

audited 2223 packages in 80.202s

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

found 0 vulnerabilities


pi@raspberrypi-fhem:~/FhemNative/Development/FhemNative $ npm run ionic:pwa

> FhemNative@2.6.3 ionic:pwa /home/pi/FhemNative/Development/FhemNative
> ionic build --prod

sh: 1: ionic: not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! FhemNative@2.6.3 ionic:pwa: `ionic build --prod`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the FhemNative@2.6.3 ionic:pwa script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/pi/.npm/_logs/2020-10-14T09_07_40_621Z-debug.log


das log dazu
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'ionic:pwa' ]
2 info using npm@6.14.8
3 info using node@v12.19.0
4 verbose run-script [ 'preionic:pwa', 'ionic:pwa', 'postionic:pwa' ]
5 info lifecycle FhemNative@2.6.3~preionic:pwa: FhemNative@2.6.3
6 info lifecycle FhemNative@2.6.3~ionic:pwa: FhemNative@2.6.3
7 verbose lifecycle FhemNative@2.6.3~ionic:pwa: unsafe-perm in lifecycle true
8 verbose lifecycle FhemNative@2.6.3~ionic:pwa: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/pi/FhemNative/Development/FhemNative/node_modules/.bin:/home/pi/perl5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin
9 verbose lifecycle FhemNative@2.6.3~ionic:pwa: CWD: /home/pi/FhemNative/Development/FhemNative
10 silly lifecycle FhemNative@2.6.3~ionic:pwa: Args: [ '-c', 'ionic build --prod' ]
11 info lifecycle FhemNative@2.6.3~ionic:pwa: Failed to exec ionic:pwa script
12 verbose stack Error: FhemNative@2.6.3 ionic:pwa: `ionic build --prod`
12 verbose stack spawn ENOENT
12 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:48:18)
12 verbose stack     at ChildProcess.emit (events.js:314:20)
12 verbose stack     at maybeClose (internal/child_process.js:1021:16)
12 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
13 verbose pkgid FhemNative@2.6.3
14 verbose cwd /home/pi/FhemNative/Development/FhemNative
15 verbose Linux 5.4.51-v7+
16 verbose argv "/usr/bin/node" "/usr/bin/npm" "run" "ionic:pwa"
17 verbose node v12.19.0
18 verbose npm  v6.14.8
19 error code ELIFECYCLE
20 error syscall spawn
21 error file sh
22 error errno ENOENT
23 error FhemNative@2.6.3 ionic:pwa: `ionic build --prod`
23 error spawn ENOENT
24 error Failed at the FhemNative@2.6.3 ionic:pwa script.
24 error This is probably not a problem with npm. There is likely additional logging output above.
25 verbose exit [ 1, true ]




hier das ganze nocheinmal durchgehend:
pi@raspberrypi-fhem:/ $ sudo git clone https://github.com/Syrex-o/FhemNative
Cloning into 'FhemNative'...
remote: Enumerating objects: 2475, done.
remote: Counting objects: 100% (2475/2475), done.
remote: Compressing objects: 100% (1151/1151), done.
remote: Total 10271 (delta 1468), reused 2030 (delta 1120), pack-reused 7796
Receiving objects: 100% (10271/10271), 126.77 MiB | 1.29 MiB/s, done.
Resolving deltas: 100% (4194/4194), done.
Checking out files: 100% (815/815), done.

pi@raspberrypi-fhem:/ $ cd /home/pi/FhemNative/Development/FhemNative/

pi@raspberrypi-fhem:~/FhemNative/Development/FhemNative $ npm install
npm WARN @angular/animations@10.1.3 requires a peer of @angular/core@10.1.3 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/cdk@10.2.2 requires a peer of @angular/core@^10.0.0 || ^11.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/common@10.1.3 requires a peer of @angular/core@10.1.3 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/forms@10.1.3 requires a peer of @angular/core@10.1.3 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/material@10.2.2 requires a peer of @angular/core@^10.0.0 || ^11.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/platform-browser@10.1.3 requires a peer of @angular/core@10.1.3 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/platform-browser-dynamic@10.1.3 requires a peer of @angular/core@10.1.3 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/router@10.1.3 requires a peer of @angular/core@10.1.3 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/service-worker@10.1.3 requires a peer of @angular/core@10.1.3 but none is installed. You must install peer dependencies yourself.
npm WARN codelyzer@5.2.2 requires a peer of @angular/compiler@>=2.3.1 <10.0.0 || >9.0.0-beta <10.0.0 || >9.1.0-beta <10.0.0 || >9.2.0-beta <10.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN karma-jasmine-html-reporter@1.5.3 requires a peer of jasmine-core@>=3.5 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/watchpack-chokidar2/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/webpack-dev-server/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})

audited 2223 packages in 93.064s

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

found 0 vulnerabilities

pi@raspberrypi-fhem:~/FhemNative/Development/FhemNative $ npm run ionic:pwa

> FhemNative@2.6.3 ionic:pwa /home/pi/FhemNative/Development/FhemNative
> ionic build --prod

sh: 1: ionic: not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! FhemNative@2.6.3 ionic:pwa: `ionic build --prod`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the FhemNative@2.6.3 ionic:pwa script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/pi/.npm/_logs/2020-10-14T09_25_14_095Z-debug.log
pi@raspberrypi-fhem:~/FhemNative/Development/FhemNative $
raspberry pi3
signalduino, Shelly1, Shelly2, Sonos, Unifi
Amazon Fire Tablet 7 | Noname Android Tablet 10"