FHEM Forum

FHEM => Frontends => Sprachsteuerung => Thema gestartet von: Maxl am 01 Dezember 2025, 21:08:52

Titel: FHEM streikt nach Raspberry update
Beitrag von: Maxl am 01 Dezember 2025, 21:08:52
Hallo,

im LOG File bekomme ich nach dem UPDATE des Raspberry plötzlich folgende Meldung.

[1.12.2025, 21:11:09] Got SIGTERM, shutting down alexa-fhem...
[1.12.2025, 21:11:09] Reading alexaFHEM.ProxyConnection set to stopping;; alexa-fhem terminating
[1.12.2025, 21:11:42] using config from ./alexa-fhem.cfg
*** CONFIG: parsed completely
[1.12.2025, 21:11:42] os.homedir()=/opt/fhem
[1.12.2025, 21:11:42] this is alexa-fhem 0.5.65
[1.12.2025, 21:11:42] connecting to FHEM ...
[1.12.2025, 21:11:42] [FHEM] defaults to: will not send proactive events
Startup rejected. Reason: Error: Cannot find module 'fs/promises'
Require stack:
- /usr/local/lib/node_modules/alexa-fhem/node_modules/postman-request/request.js
- /usr/local/lib/node_modules/alexa-fhem/node_modules/postman-request/index.js
- /usr/local/lib/node_modules/alexa-fhem/lib/fhem.js
- /usr/local/lib/node_modules/alexa-fhem/lib/user.js
- /usr/local/lib/node_modules/alexa-fhem/lib/server.js
- /usr/local/lib/node_modules/alexa-fhem/lib/cli.js
- /usr/local/lib/node_modules/alexa-fhem/bin/alexa

während des Updates bekomme ich folgende Meldung

found 0 vulnerabilities
user@raspberryfhem:~ $ sudo npm install -g alexa-fhem
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'postman-request@2.88.1-postman.46',
npm WARN EBADENGINE   required: { node: '>= 16' },
npm WARN EBADENGINE   current: { node: 'v12.22.12', npm: '7.5.2' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'socks-proxy-agent@8.0.5',
npm WARN EBADENGINE   required: { node: '>= 14' },
npm WARN EBADENGINE   current: { node: 'v12.22.12', npm: '7.5.2' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'agent-base@7.1.4',
npm WARN EBADENGINE   required: { node: '>= 14' },
npm WARN EBADENGINE   current: { node: 'v12.22.12', npm: '7.5.2' }
npm WARN EBADENGINE }


Alexa findet auch keine Geräte mehr. An was liegt das?
Titel: Aw: FHEM streikt nach Raspberry update
Beitrag von: passibe am 01 Dezember 2025, 22:33:03
Was genau hast du aktualisiert?

Jedenfalls: Fehlermeldung lesen
Zitat von: Maxl am 01 Dezember 2025, 21:08:52npm WARN EBADENGINE   required: { node: '>= 16' },
npm WARN EBADENGINE   current: { node: 'v12.22.12', npm: '7.5.2' }
Deine node-Version ist hoffnungslos veraltet. Bitte aktualisieren, vermutlich am einfachsten via https://deb.nodesource.com

also

curl -fsSL https://deb.nodesource.com/setup_22.x | sudo bash -
sudo apt-get install -y nodejs

Dann nochmalsudo npm install -g alexa-fhem und dann am besten einfach den Raspberry neustarten.