fhem im Docker-Container: echodevice läßt sich nicht aktivieren

Begonnen von rabehd, 11 Januar 2025, 18:06:35

Vorheriges Thema - Nächstes Thema

passibe

Bitte möglichst stumpf die Schritte 1–6 aus Beitrag #4 nachmachen.
(Bei Docker geht es nicht mit NPM_install.)

rabehd

root@22705468f3c5:/opt/fhem# npm install --unsafe-perm --production --prefix /opt/fhem/cache/alexa-cookie alexa-cookie2
npm warn config production Use `--omit=dev` instead.

up to date, audited 104 packages in 2s

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

2 low severity vulnerabilities

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.
npm notice
npm notice New major version of npm available! 10.9.0 -> 11.6.4
npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.6.4
npm notice To update run: npm install -g npm@11.6.4
npm notice
root@22705468f3c5:/opt/fhem# npm install npm@11.6.4
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'npm@11.6.4',
npm warn EBADENGINE   required: { node: '^20.17.0 || >=22.9.0' },
npm warn EBADENGINE   current: { node: 'v18.20.4', npm: '10.9.0' }
npm warn EBADENGINE }

added 1 package in 3s

16 packages are looking for funding
  run `npm fund` for details
root@22705468f3c5:/opt/fhem# npm install --unsafe-perm --production --prefix /opt/fhem/cache/alexa-cookie alexa-cookie2
npm warn config production Use `--omit=dev` instead.

up to date, audited 104 packages in 1s

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

2 low severity vulnerabilities

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.
root@22705468f3c5:/opt/fhem# npm cache clean --force
npm warn using --force Recommended protections disabled.
root@22705468f3c5:/opt/fhem# chown -R fhem: /opt/fhem/cache/alexa-cookie
root@22705468f3c5:/opt/fhem#

Ich habe es in der Konsole es Containers (Portainer) gemacht. Vorher den Contaier neu erstellt.
Als Schritt 4 habe ich ein neues Device angelegt.
NPM-Login meldet weiterhin "Das alexa-cookie Modul wurde nicht gefunden. Bitte fuehrt am Amazon Account Device einen set "NPM_install" durch "

???
Auch funktionierende Lösungen kann man hinterfragen.